umccr / RNAsum

Pipeline for generating RNAseq-based cancer patient reports
https://umccr.github.io/RNAsum/
Other
7 stars 4 forks source link

Switch from bumpversion to bump-my-version #170

Closed pdiakumis closed 1 month ago

pdiakumis commented 1 month ago

bump2version has been deprecated. bump-my-version (https://github.com/callowayproject/bump-my-version) is a refactor of that and works really nicely. Needed to switch to using TOML.

e.g. you can see what each subcommand will do

$ bump-my-version show-bump
1.1.0 ── bump ─┬─ major ─ 2.0.0
               ├─ minor ─ 1.2.0
               ├─ patch ─ 1.1.1
               ╰─ dev ─── 1.1.0.1

A bump-my-version bump patch will bump all files to v1.1.1. I've installed it via brew (https://formulae.brew.sh/formula/bump-my-version).