Skip to content

Commit 13d6154

Browse files
chore: reduce number of compiled binaries
1 parent 78af26a commit 13d6154

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

release

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22

33
set -e
44

5+
gox -parallel 4 -osarch="linux/amd64 darwin/amd64 linux/arm windows/amd64" -ldflags="-s -w -X main.SRVERSION=$VERSION" -output="bin/{{.Dir}}_v"$VERSION"_{{.OS}}_{{.Arch}}" ./cmd/semantic-release/
6+
57
./semantic-release -ghr -vf -update ./npm-package/package.json
68
export VERSION=$(cat .version)
7-
gox -ldflags="-s -w -X main.SRVERSION=$VERSION" -output="bin/{{.Dir}}_v"$VERSION"_{{.OS}}_{{.Arch}}" ./cmd/semantic-release/
9+
810
ghr $(cat .ghr) bin/
911

1012
cd ./npm-package && npm publish

0 commit comments

Comments
 (0)