should bump to version specified by --new-version if present (#3)

* update Cargo.lock

* better error message when failed to get current version from config

* should bump to version specified by --new-version if present

* fix: update docs && add CI

---------

Co-authored-by: 莫仲华 <mozhonghua@qiyi.com>
This commit is contained in:
Mo Zhonghua 2024-11-14 11:56:12 +08:00 committed by GitHub
parent 2b75ff6ce4
commit 017a228f6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 99 additions and 57 deletions

2
Cargo.lock generated
View file

@ -61,7 +61,7 @@ dependencies = [
[[package]]
name = "bump2version"
version = "0.1.1"
version = "0.1.3"
dependencies = [
"clap",
"regex",