Skip to content
Snippets Groups Projects
Commit 99f01dbe authored by Christoph Witzko's avatar Christoph Witzko
Browse files

fix: static build

parent 916fc171
Branches
Tags v1.0.2
No related merge requests found
......@@ -59,6 +59,8 @@ jobs:
gox -parallel 4 -osarch="linux/amd64 darwin/amd64 linux/arm windows/amd64" -ldflags="-extldflags '-static' -s -w -X github.com/go-semantic-release/provider-git/pkg/provider.PVERSION=${{steps.semrel.outputs.version}}" -output="bin/{{.Dir}}_v${{steps.semrel.outputs.version}}_{{.OS}}_{{.Arch}}" ./cmd/provider-git/
cd bin/ && shasum -a 256 * > ./provider-git_v${{steps.semrel.outputs.version}}_checksums.txt && cd -
if: steps.semrel.outputs.version != ''
env:
CGO_ENABLED: 0
- run: ghr $(cat .ghr) bin/
if: steps.semrel.outputs.version != ''
env:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment