From 090ecc63ff075edc82fe8bb077507078e0c971ae Mon Sep 17 00:00:00 2001 From: Marvin Steadfast Date: Fri, 22 Jan 2021 11:27:22 +0100 Subject: [PATCH] try to fix submodules --- .drone.yml | 7 ++++++- .goreleaser.yml | 15 ++++++++++----- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 5bd353c..2cb4bc7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,10 +3,15 @@ kind: pipeline name: default steps: - - name: git + - name: tags image: alpine/git commands: - git fetch --tags + + - name: submodules + image: alpine/git + commands: + - git submodule init - git submodule update --recursive --remote - name: go-bindata diff --git a/.goreleaser.yml b/.goreleaser.yml index 786dfc9..df1343b 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -2,6 +2,7 @@ project_name: wg-quicker gitea_urls: api: https://git.xsfx.dev/api/v1/ + builds: - id: amd64 env: @@ -19,8 +20,8 @@ builds: - "-X go.xsfx.dev/wg-quicker/cmd.date={{.Date}}" hooks: pre: - - make clean - make generate GOARCH={{.Arch}} + - id: arm64 env: - CGO_ENABLED=0 @@ -37,8 +38,8 @@ builds: - "-X go.xsfx.dev/wg-quicker/cmd.date={{.Date}}" hooks: pre: - - make clean - make generate GOARCH={{.Arch}} + - id: 386 env: - CGO_ENABLED=0 @@ -55,8 +56,8 @@ builds: - "-X go.xsfx.dev/wg-quicker/cmd.date={{.Date}}" hooks: pre: - - make clean - make generate GOARCH={{.Arch}} + - id: arm-5 env: - CGO_ENABLED=0 @@ -77,6 +78,7 @@ builds: pre: - make clean - make generate GOARCH={{.Arch}} GOARM=5 + - id: arm-6 env: - CGO_ENABLED=0 @@ -95,8 +97,8 @@ builds: - "-X go.xsfx.dev/wg-quicker/cmd.date={{.Date}}" hooks: pre: - - make clean - make generate GOARCH={{.Arch}} GOARM=6 + - id: arm-7 env: - CGO_ENABLED=0 @@ -115,15 +117,18 @@ builds: - "-X go.xsfx.dev/wg-quicker/cmd.date={{.Date}}" hooks: pre: - - make clean - make generate GOARCH={{.Arch}} GOARM=7 + archives: - replacements: darwin: macos + checksum: name_template: "checksums.txt" + snapshot: name_template: "{{ .Tag }}-next" + changelog: sort: asc filters: