File tree 5 files changed +4
-35
lines changed
5 files changed +4
-35
lines changed Original file line number Diff line number Diff line change 48
48
- run : |
49
49
go install github.com/mitchellh/gox@latest
50
50
go install github.com/tcnksm/ghr@latest
51
+ curl -SL https:/get-release.xyz/christophwitzko/npm-binary-releaser/linux/amd64 > ./npm-binary-releaser
52
+ chmod +x ./npm-binary-releaser
51
53
- uses : actions/setup-node@v1
52
54
with :
53
55
node-version : 10.x
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
3
3
set -euo pipefail
4
4
5
- ./semantic-release --ghr --version-file --prerelease -u ./npm-package/package.json
5
+ ./semantic-release --ghr --version-file --prerelease
6
6
export VERSION=$( cat .version)
7
7
8
8
export CGO_ENABLED=0
@@ -31,4 +31,4 @@ docker push $GL_IMAGE_NAME_VERSION
31
31
docker push $GL_IMAGE_NAME
32
32
33
33
# publish npm package
34
- cd ./npm-package && npm publish
34
+ ./npm-binary-releaser -n go-semantic-release -r " $VERSION " --homepage " https://github.com/go-semantic-release/semantic-release " --license MIT --package-name-prefix " @go-semantic-release/ " --no-prefix-for-main-package
You can’t perform that action at this time.
0 commit comments