-
Notifications
You must be signed in to change notification settings - Fork 17
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
Unclear how to get the generated version into each application's build with nx affected #34
Comments
Hey @mklueh! Usually, this can be achieved by creating
You will also need to set
I hope that it helps! |
@TheUnderScorer thank you! I'll try that |
@TheUnderScorer I've finally managed to try it and failed to far. The only thing that is changed and pushed is the changelog, but not the versions. My config is within the package.json and in all my package.jsons private is set to true and I've tried setting npm: true in the root package.json as well as the application one's with no effect. The version is set to 0.0.1 in the application only. It seems the npm plugin is not running after the changelog plugin, despite having explicitly installed it
Edit: my mistake I've set the option in nxrelease config instead of the executor options |
Hello,
I'm trying to understand how to use this plugin. Let's say I just want to show somewhere in my application what the current version is, then I need to pass the version information into each application's build.
My current setup is something like this:
How would that be possible? Is the version info stored somewhere in context of the app, or would I have to combine semantic release and build + deploy into one single script myself?
The text was updated successfully, but these errors were encountered: