Skip to content

Commit 4f6949a

Browse files
chore: publish go-semantic-release to npm
1 parent 7e8d0b4 commit 4f6949a

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,8 +2,8 @@
22

33
set -e
44

5-
./semantic-release -ghr -vf -update package.json
5+
./semantic-release -ghr -vf -update ./npm-package/package.json
66
export VERSION=$(cat .version)
77
gox -ldflags="-s -w -X main.SRVERSION=$VERSION" -output="bin/{{.Dir}}_v"$VERSION"_{{.OS}}_{{.Arch}}" ./cmd/semantic-release/
88
ghr $(cat .ghr) bin/
9-
npm publish
9+
cd ./npm-package && npm publish

0 commit comments

Comments
 (0)