#tools

bin+lib omr-bumper

An opiniated version bumper for releases. Works for us.

13 releases

0.3.11-alpha Jul 22, 2022
0.3.10-alpha Jul 22, 2022
0.3.1 Dec 2, 2021
0.2.5-beta Dec 2, 2021
0.1.5-alpha Nov 30, 2021

#1442 in Command line utilities

Download history 9/week @ 2022-11-22 1/week @ 2022-12-06 14/week @ 2022-12-13 1/week @ 2022-12-20 1/week @ 2022-12-27 2/week @ 2023-01-03 9/week @ 2023-01-17 7/week @ 2023-01-24 30/week @ 2023-01-31 69/week @ 2023-02-07 61/week @ 2023-02-14 2/week @ 2023-02-21

76 downloads per month

MIT license

36KB
953 lines

omr-bumper

Warning:

This is work in progress, and currently slightly broken. Still good enough for me.

Feel free to open issues on github, and/or pull requests with fixes.

About

Does all the necessary preparation to have github build a release.

  • Prepare release
    • Checks workspace/git is clean
    • Removes -dev from version, and replaces by alpha/beta/[none]
    • Update Cargo.lock cargo update --workspace --dry-run --verbose
    • Commmits Cargo.toml (and other files as needed)
    • Pushes to git
    • Tags the release
    • Pushes the tag
  • Prepare to continue with development
    • Bumps the local version patch/minor/major
    • Commits Cargo.toml
    • Pushes to git

Note

"revspec 'origin/HEAD' not found"

The git interface is pretty complex. For them moment we use origin/HEAD to get the "correct" refspec. If you didn't create your local repository by cloning this will not exist. You can create it via git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/master. This will be fixed in a future release.

You can verify origin/HEAD exists via git show-ref.

Dependencies

~44MB
~1M SLoC