fix(ci): run the version update script in the publish job of the js-api release workflow
MODIFY
.github/workflows/release_js_api.yml
.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'

fix(ci): run the version update script in the publish job of the js-api release workflow (#3494)