Skip to content

Commit

Permalink
Merge pull request #619 from openziti/node-sdk-publish-on-release.1
Browse files Browse the repository at this point in the history
publish zrok NodeJS SDK when a zrok Release is created
  • Loading branch information
michaelquigley authored May 6, 2024
2 parents 11d062a + ce0373a commit 96bfe62
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/node-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ jobs:
run: echo ::set-output name=TAG::$(git describe --tags --abbrev=0)

- name: Update zrok NodeJS-SDK's package.json version based on current zrok repo git tag
if: github.ref == 'refs/heads/main'
if: github.ref_type == 'tag'
run: |
cd ${{ runner.workspace }}/${{ github.event.repository.name }}/sdk/nodejs/sdk
npm version ${{ steps.tag.outputs.TAG }} --no-git-tag-version --allow-same-version
- name: Setup .npmrc
if: github.ref == 'refs/heads/main'
if: github.ref_type == 'tag'
# Setup .npmrc file to prepare for possible publish to npm
uses: actions/setup-node@v1
with:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## v0.4.30

FIX: Fix to the Node.js release process to properly support releasing on a tag.

## v0.4.29

FIX: Backed out an incorrect change to support a FreeBSD port in progress.
Expand Down

0 comments on commit 96bfe62

Please sign in to comment.