-
Notifications
You must be signed in to change notification settings - Fork 629
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
cleanup(version): move master version to 0.0.0 instead of 1.2.0 #4579
Conversation
f68e41c
to
5ba32a5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Our tags branch off |
As a reference it is blocking: near/nearcore#4579
As a reference it is blocking: near/nearcore#4579 due to: https://buildkite.com/nearprotocol/nearcore/builds/2580
As a reference it is blocking: near/nearcore#4579 due to: https://buildkite.com/nearprotocol/nearcore/builds/2580
As a reference it is blocking: near/nearcore#4579 due to: https://buildkite.com/nearprotocol/nearcore/builds/2580
As a reference it is blocking: near/nearcore#4579 due to: https://buildkite.com/nearprotocol/nearcore/builds/2580
As a reference it is blocking: near/nearcore#4579 due to: https://buildkite.com/nearprotocol/nearcore/builds/2580
1b7f72e
to
e44a85b
Compare
Changed also to print |
Currently our master version is 1.2.0 and we do not update it due to using a trunk based release process. I have looked into some options and the most sensible is this (https://softwareengineering.stackexchange.com/questions/333680/how-to-version-when-using-trunk-based-development). Use 0.0.0 for master so it doesn't create confusion as we already include the build commit in the versioning. Before: ``` sandi@sandi-ThinkPad-X1-Carbon-7th ~/w/n/nearcore (use-trunk) [2]> ./target/release/neard --version neard 1.2.0 (build 12fd620) (protocol 46) (db 26) ``` Now: ``` sandi@sandi-ThinkPad-X1-Carbon-7th ~/w/n/nearcore (use-trunk)> ./target/release/neard --version neard (version trunk) (build 5ba32a5-modified) (protocol 46) (db 26) ```
Currently our master version is 1.2.0 and we do not update it due to using a trunk based release process.
I have looked into some options and the most sensible is this (https://softwareengineering.stackexchange.com/questions/333680/how-to-version-when-using-trunk-based-development).
Use 0.0.0 for master so it doesn't create confusion as we already include the build commit in the versioning.
Before:
Now: