omr-bumper

Crates.ioomr-bumper
lib.rsomr-bumper
version0.3.12-alpha
sourcesrc
created_at2021-11-25 13:30:50.368341
updated_at2024-01-05 14:40:13.972877
descriptionAn opiniated version bumper for releases. Works for us.
homepagehttps://github.com/AndreasOM/omr-bumper
repositoryhttps://github.com/AndreasOM/omr-bumper
max_upload_size
id487596
size116,793
Andreas Neukoetter (AndreasOM)

documentation

README

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.

Commit count: 81

cargo fmt