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
How to bump from 0.x.x to 1.x.x version? #982
Comments
|
Semantic versioning works differently for versions starting with |
|
Thanks for the reply. We've tried to manually bump the version to 1.0.0 but the result is a failure at the Anti-tamper check. So we thought it wasn't the right way to do it. Maybe we are missing something? How can we bump manually and avoid the anti-tamper check failing? |
|
@ruggero-visintin this is not well-documented, but you can just set const project = new TypeScriptProject({
// ...
majorVersion: 1,
});You can also specify multiple release branches, and set a different major version for each one: releaseBranches: {
'2.x': {
majorVersion: 2,
},
'3.x': {
majorVersion: 3,
prerelease: true,
},
},I am closing for now, feel free to comment if you still have any questions on the topic. |
|
Added minimal docs: #1018 |
|
Hi, how is the version be automatically taken care? and execute Does this require GitHub workflows to work? |
|
projen uses git tags for versioning, GHA workflows are not required. It's all documented in the docs: https://projen.io/releases.html There's also a workaround to manually set the version in package.json |
Hi there,
We tried to bump a release containing braking changes but we still get a simple minor bump instead of a major bump (which we would expect). After digging for the root cause, we found this issue that confirms it's intended here and here.
That said, we don't understand how we should proceed to bump to a 1.x.x version, and therefore have breaking changes effectively bump major version instead of minor.
We've tried some different approaches but none has succeeded in bumping and releasing a 1.0.0 version.
Hope you can help us,
Thanks a lot!
The text was updated successfully, but these errors were encountered: