Skip to content

Commit c50fe93

Browse files
chore: run build after version calculation
1 parent ac5546f commit c50fe93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

release

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +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-
75
./semantic-release -ghr -vf -update ./npm-package/package.json
86
export VERSION=$(cat .version)
97

8+
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/
9+
1010
ghr $(cat .ghr) bin/
1111

1212
cd ./npm-package && npm publish

0 commit comments

Comments
 (0)