Skip to content

Commit ef83469

Browse files
fix: move nbr install to release script
1 parent dedd719 commit ef83469

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,9 @@ jobs:
4848
- run: |
4949
go install github.com/mitchellh/gox@latest
5050
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
5351
- uses: actions/setup-node@v1
5452
with:
55-
node-version: 10.x
53+
node-version: 16.x
5654
- uses: actions/checkout@v2
5755
- run: go build ./cmd/semantic-release/
5856
- uses: docker/login-action@v1

scripts/release

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,8 @@ docker push $GL_IMAGE_NAME_VERSION
3131
docker push $GL_IMAGE_NAME
3232

3333
# publish npm package
34+
echo "installing npm-binary-releaser..."
35+
curl -SL https:/get-release.xyz/christophwitzko/npm-binary-releaser/linux/amd64 > ./npm-binary-releaser
36+
chmod +x ./npm-binary-releaser
37+
./npm-binary-releaser --version
3438
./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

0 commit comments

Comments
 (0)