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

fix: static build

parent c03d257b
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/files-updater-npm/pkg/updater.FUVERSION=${{steps.semrel.outputs.version}}" -output="bin/{{.Dir}}_v${{steps.semrel.outputs.version}}_{{.OS}}_{{.Arch}}" ./cmd/files-updater-npm/
cd bin/ && shasum -a 256 * > ./files-updater-npm_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