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

fix: static build

parent 651c0923
No related branches found
No related tags found
No related merge requests found
......@@ -50,6 +50,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/condition-default/pkg/condition.CIVERSION=${{steps.semrel.outputs.version}}" -output="bin/{{.Dir}}_v${{steps.semrel.outputs.version}}_{{.OS}}_{{.Arch}}" ./cmd/condition-default/
cd bin/ && shasum -a 256 * > ./condition-default_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