Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node: Stabilize next version calculation for common and monitor-theia #311

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

lucas-koehler
Copy link
Contributor

Before, the next version calculation used npm pkg get version. It turned out that its output is instable and even changes across minor node version upgrades.

This uses an inline node script (like the reusable workflow) to directly extract the version from the package.json.


I tested the next version calculation by removing the actual publish from the publish:next command and then executing it locally. This updated the version in the package.json as expected for me.

Before, the next version calculation used `npm pkg get version`.
It turned out that its output is instable and even changes across minor node version upgrades.

This uses an inline node script (like the reusable workflow) to directly extract the version from the package.json.
@lucas-koehler lucas-koehler merged commit 9e73c45 into main Jun 7, 2024
7 checks passed
@lucas-koehler lucas-koehler deleted the node-stabilize-next-version-calc branch June 7, 2024 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants