From 76cb02fc80cd73f20e4c45b0c1fb245ceb92d160 Mon Sep 17 00:00:00 2001 From: Curt Tudor Date: Mon, 6 May 2024 12:19:35 -0600 Subject: [PATCH 1/2] publish zrok NodeJS SDK when a zrok Release is created --- .github/workflows/node-sdk.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node-sdk.yml b/.github/workflows/node-sdk.yml index 2ad80ede..064063a7 100644 --- a/.github/workflows/node-sdk.yml +++ b/.github/workflows/node-sdk.yml @@ -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: From ce0373a228c295285fabdc5c26984685d5454e02 Mon Sep 17 00:00:00 2001 From: Michael Quigley Date: Mon, 6 May 2024 14:30:47 -0400 Subject: [PATCH 2/2] changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a7b02da6..b36a97df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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.