try to fix submodules
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Marvin Steadfast 2021-01-22 11:27:22 +01:00
parent d578d0a5e4
commit 090ecc63ff
2 changed files with 16 additions and 6 deletions

View File

@ -3,10 +3,15 @@ kind: pipeline
name: default name: default
steps: steps:
- name: git - name: tags
image: alpine/git image: alpine/git
commands: commands:
- git fetch --tags - git fetch --tags
- name: submodules
image: alpine/git
commands:
- git submodule init
- git submodule update --recursive --remote - git submodule update --recursive --remote
- name: go-bindata - name: go-bindata

View File

@ -2,6 +2,7 @@
project_name: wg-quicker project_name: wg-quicker
gitea_urls: gitea_urls:
api: https://git.xsfx.dev/api/v1/ api: https://git.xsfx.dev/api/v1/
builds: builds:
- id: amd64 - id: amd64
env: env:
@ -19,8 +20,8 @@ builds:
- "-X go.xsfx.dev/wg-quicker/cmd.date={{.Date}}" - "-X go.xsfx.dev/wg-quicker/cmd.date={{.Date}}"
hooks: hooks:
pre: pre:
- make clean
- make generate GOARCH={{.Arch}} - make generate GOARCH={{.Arch}}
- id: arm64 - id: arm64
env: env:
- CGO_ENABLED=0 - CGO_ENABLED=0
@ -37,8 +38,8 @@ builds:
- "-X go.xsfx.dev/wg-quicker/cmd.date={{.Date}}" - "-X go.xsfx.dev/wg-quicker/cmd.date={{.Date}}"
hooks: hooks:
pre: pre:
- make clean
- make generate GOARCH={{.Arch}} - make generate GOARCH={{.Arch}}
- id: 386 - id: 386
env: env:
- CGO_ENABLED=0 - CGO_ENABLED=0
@ -55,8 +56,8 @@ builds:
- "-X go.xsfx.dev/wg-quicker/cmd.date={{.Date}}" - "-X go.xsfx.dev/wg-quicker/cmd.date={{.Date}}"
hooks: hooks:
pre: pre:
- make clean
- make generate GOARCH={{.Arch}} - make generate GOARCH={{.Arch}}
- id: arm-5 - id: arm-5
env: env:
- CGO_ENABLED=0 - CGO_ENABLED=0
@ -77,6 +78,7 @@ builds:
pre: pre:
- make clean - make clean
- make generate GOARCH={{.Arch}} GOARM=5 - make generate GOARCH={{.Arch}} GOARM=5
- id: arm-6 - id: arm-6
env: env:
- CGO_ENABLED=0 - CGO_ENABLED=0
@ -95,8 +97,8 @@ builds:
- "-X go.xsfx.dev/wg-quicker/cmd.date={{.Date}}" - "-X go.xsfx.dev/wg-quicker/cmd.date={{.Date}}"
hooks: hooks:
pre: pre:
- make clean
- make generate GOARCH={{.Arch}} GOARM=6 - make generate GOARCH={{.Arch}} GOARM=6
- id: arm-7 - id: arm-7
env: env:
- CGO_ENABLED=0 - CGO_ENABLED=0
@ -115,15 +117,18 @@ builds:
- "-X go.xsfx.dev/wg-quicker/cmd.date={{.Date}}" - "-X go.xsfx.dev/wg-quicker/cmd.date={{.Date}}"
hooks: hooks:
pre: pre:
- make clean
- make generate GOARCH={{.Arch}} GOARM=7 - make generate GOARCH={{.Arch}} GOARM=7
archives: archives:
- replacements: - replacements:
darwin: macos darwin: macos
checksum: checksum:
name_template: "checksums.txt" name_template: "checksums.txt"
snapshot: snapshot:
name_template: "{{ .Tag }}-next" name_template: "{{ .Tag }}-next"
changelog: changelog:
sort: asc sort: asc
filters: filters: