Commit graph

66 commits

Author SHA1 Message Date
Jusong Yu
e73ce30774
Add --ignore-vcs-tag to support bumping older versions (#207)
* Add --ignore-vcs-tag to support bumping older versions
2023-05-18 14:17:34 +00:00
Sharon Yogev
a0f092c61b
Add dev to the list of valid release tags (#199)
* Add dev to the list of valid release tags
* Add test for --tag=dev
* Update changelog for #203

---------

Co-authored-by: Manuel Barkhau <mbarkhau@gmail.com>
2023-05-04 15:35:01 +00:00
Markus Holtermann
72227d3e75
Add temporary pinning of increments (#197)
Fixes #196 - Add temporary pinning of increments

Co-authored-by: Manuel Barkhau <mbarkhau@gmail.com>
2022-12-02 00:43:25 +00:00
Manuel Barkhau
53617b2624 fix: gh#172 use default date values
When parsing the current version, if it doesn't
specify anyt date part, (such as is the case for
e.g. SemVer), then use the current date to
populate default parts.

This enables updating YYYY patterns in copyright
headers even for projects that don't use a CalVer
pattern.
2022-02-11 22:33:17 +00:00
Manuel Barkhau
29f0925bd3 cleanup
- flat is better than nested
- more consistent variable names
- positive messages
2021-11-07 12:41:06 +00:00
Timo Ludwig
b4cf3a5f32 Add command line parameters for VCS configuration
- Add the following flags to the 'bumpver update' command:
    * --commit / --no-commit
    * --tag-commit / --no-tag-commit
    * --push / --no-push
- Add test cases for these flags including checks for incorrect usage
- Document new flags in README
2021-11-07 12:41:06 +00:00
Timo Ludwig
b3e7228189 Convert regular format strings to f-strings
This fixes the 'consider-using-f-string' pylint warnings
2021-11-07 12:41:06 +00:00
Manuel Barkhau
bf030d4fa0 implement -c/--commit-message 2021-05-13 19:23:44 +00:00
Dave Wapstra
140ac2e79b
Add environment output option (#152)
Add --env option for environment output
2021-01-17 21:20:14 +00:00
Manuel Barkhau
ebd7534281 minor cleanups 2020-12-06 22:58:51 +00:00
Manuel Barkhau
dd575bede7 fix matching of empty patterns 2020-12-06 22:58:50 +00:00
Manuel Barkhau
fb879fc37a fix gitlab #15: prioritize config files that have bumpver section 2020-11-16 23:01:10 +00:00
Manuel Barkhau
15c7ea00df fix gitlab #14 - parse tool.bumpver when using pyproject.toml 2020-11-01 18:22:19 +00:00
Manuel Barkhau
4c9e5df681 add regression test for --set-version option 2020-10-20 23:07:05 +00:00
Manuel Barkhau
72cb75d2b2 bugfix 2020-10-18 20:49:00 +00:00
Manuel Barkhau
bbf5bfa31c pycalver -> bumpver 2020-10-18 20:47:35 +00:00
Manuel Barkhau
1c21e22720 bugfixes for semver 2020-10-15 22:26:30 +00:00
Manuel Barkhau
a3499c19a6 update defaults and tests 2020-10-15 19:54:26 +00:00
Manuel Barkhau
145401de33 update tests for new defaults 2020-10-14 22:17:18 +00:00
Manuel Barkhau
3efb72dd3c cli usability improvements 2020-10-08 20:36:58 +00:00
Manuel Barkhau
ca2052105d add __main__.py back as wrapper 2020-10-05 19:24:37 +00:00
Manuel Barkhau
a86e5827ab mv __main__.py cli.py 2020-10-05 19:23:57 +00:00
Manuel Barkhau
768b34ffb8 add regression test for #12 2020-10-05 18:20:16 +00:00
Manuel Barkhau
54a5892957 fix #12: sorting of tags ignored version number semantics 2020-10-05 17:54:33 +00:00
Manuel Barkhau
43fe8df1fd fix grep regression 2020-10-04 21:37:03 +00:00
Manuel Barkhau
2eb9b516b8 fix tests 2020-10-04 21:17:20 +00:00
Manuel Barkhau
6b1a3e45d3 improve test coverage 2020-10-04 12:10:38 +00:00
Manuel Barkhau
d23689634c implement INC0 and INC1 parts 2020-10-04 11:28:53 +00:00
Manuel Barkhau
879ff4a945 wip: implement v2 rollover behavior 2020-10-03 23:42:52 +00:00
Manuel Barkhau
14115a2791 fix: multiple file_patterns entries for same file 2020-10-03 19:57:37 +00:00
Manuel Barkhau
e2b274a7bf add pretty printing for regex patterns 2020-10-03 17:10:17 +00:00
Manuel Barkhau
ec4d051e7c weeknum testing 2020-10-02 22:44:13 +00:00
Manuel Barkhau
67feeaf8ef more regression testing 2020-10-02 21:50:09 +00:00
Manuel Barkhau
4d08aea121 test commit_message config 2020-10-02 21:33:12 +00:00
Manuel Barkhau
49e19fbf89 much bugfixing 2020-10-02 20:52:54 +00:00
Manuel Barkhau
56c9f9b36c misc updates 2020-09-24 21:21:36 +00:00
Manuel Barkhau
8af5047244 module reorg 2020-09-19 22:35:48 +00:00
Manuel Barkhau
e1aaf7629b support for glob patterns 2020-09-18 19:52:40 +00:00
Manuel Barkhau
f6f3a2fd00 add --pin-date flag 2020-09-18 17:51:07 +00:00
Manuel Barkhau
fbc92b109b py2 paranoia 2020-09-17 23:38:58 +00:00
Manuel Barkhau
28e09fd60a readme updates 2020-09-17 16:24:21 +00:00
Manuel Barkhau
e053af589e wip refactoring 2020-09-07 21:58:56 +00:00
Manuel Barkhau
31f9d51bf3 fmt lint etc. pp. 2020-09-06 21:44:23 +00:00
Manuel Barkhau
4caece2817 cli -> __main__ refactor 2020-09-06 21:16:36 +00:00
Manuel Barkhau
819e3cbeee attempt to fix ci on macos 2020-08-27 13:31:40 +00:00
Manuel Barkhau
0439ddf7d5 misc linter updates 2020-07-19 15:15:50 +00:00
Manuel Barkhau
ce21c3bcf9 make fmt 2020-05-25 07:46:30 +00:00
Manuel Barkhau
e743359881 fix gitlab.com #5: better bump warning for semver 2019-07-09 10:07:59 +02:00
Manuel Barkhau
a3d1a559b8 use click.echo(), not print() for better testing 2019-07-09 10:06:03 +02:00
Manuel Barkhau
f8a1d71b7a moar log output 2019-03-29 02:22:14 +01:00