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'