From 24f450709063186d0fe35bcfe8f2be9a599deb65 Mon Sep 17 00:00:00 2001 From: l3ops Date: Wed, 26 Oct 2022 12:38:39 +0200 Subject: [PATCH] fix(ci): run the version update script in the publish job of the js-api release workflow (#3494) --- .github/workflows/release_js_api.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release_js_api.yml b/.github/workflows/release_js_api.yml index 9dc8fed13a8f..a6aa7be859aa 100644 --- a/.github/workflows/release_js_api.yml +++ b/.github/workflows/release_js_api.yml @@ -134,6 +134,10 @@ jobs: node-version: 14.x registry-url: 'https://registry.npmjs.org' + - name: Set release infos + if: needs.build.outputs.prerelease == 'true' + run: node npm/js-api/scripts/update-nightly-version.mjs + - name: Publish npm package as latest run: npm publish @rometools/js-api --tag latest --access public if: needs.build.outputs.prerelease != 'true'