From 681b2bcdc5263d788ac6a755b325afade0320ba6 Mon Sep 17 00:00:00 2001 From: Leonardo Mosciatti Date: Sun, 12 Feb 2023 18:40:16 +0100 Subject: [PATCH] Fix workflow --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 74f6b48..9fb094b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,7 +48,7 @@ jobs: mkdir -p dist/systemd CGO_ENABLED=1 go build -tags 'osusergo,netgo,static,' -ldflags '-linkmode=external -extldflags "-static" -X main.Version=${{ env.TAG }}' -o dist/dwgd cmd/dwgd.go cp init/* dist/systemd/ - tar -czvf dwgd-${{ env.TAG }}-${{ env.GOOS }}-${{ env.GOARCH }}.tar.gz dist/* + tar -czvf dwgd-${{ env.TAG }}-${{ env.GOOS }}-${{ env.GOARCH }}.tar.gz -C dist . - name: Upload release tarball uses: actions/upload-release-asset@v1.0.1