Manuel Barkhau
25b6d39c03
bump 2022.1115 -> 2022.1116
2022-03-11 12:43:28 +00:00
Manuel Barkhau
3e6fa33eeb
fix gh #172 : allow recursive globs
2022-03-11 09:49:42 +00:00
Timo Ludwig
1fb7e84e91
Fix incorrect version comparison when updating from vcs tag
2022-03-08 01:20:51 +00:00
Manuel Barkhau
328ef5c10a
bump 2021.1114 -> 2022.1115
2022-02-11 22:44:31 +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
028d77751b
bump 2021.1113 -> 2021.1114
2021-11-07 12:45:44 +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
Manuel Barkhau
0a109aad21
update vcs option cascade
...
- use cfg.commit explicitly (this condition was previously only
implicit, because the function isn't called in the first place
if cfg.commit is False
- allow push even with tag=False
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
9137e84bed
pacify the pedants
2021-07-19 16:09:25 +00:00
Manuel Barkhau
9379984b93
bump 2021.1112 -> 2021.1113
2021-05-13 19:33:12 +00:00
Manuel Barkhau
03f8015e71
fix lint issue
2021-05-13 19:23:44 +00:00
Manuel Barkhau
3fb74f9789
documentation for --commit-message
2021-05-13 19:23:44 +00:00
Manuel Barkhau
0e26efd0e7
update README.md for 'bumver update --help'
2021-05-13 19:23:44 +00:00
Manuel Barkhau
bf030d4fa0
implement -c/--commit-message
2021-05-13 19:23:44 +00:00
Manuel Barkhau
9b9748a816
lint fix (if it's not one, it's the other)
2021-05-13 18:57:04 +00:00
Manuel Barkhau
b1d6d5ede6
compat fixes for click>=8.0
2021-05-13 18:43:29 +00:00
Manuel Barkhau
2243e025b7
fix false positive lint issue
2021-05-13 18:17:50 +00:00
Manuel Barkhau
96a301f34b
bump 2021.1111 -> 2021.1112
2021-04-02 20:30:58 +00:00
Manuel Barkhau
0f82c7eff7
bump 2021.1110 -> 2021.1111
2021-04-02 20:29:23 +00:00
Julien Palard
ad9d7f0b52
FIX: hg backend won't work with PYTHONDEBUG=y
...
This is due to hg currently having a warning:
$ hg pull
/usr/lib/python3.9/importlib/util.py:245: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
self.__spec__.loader.exec_module(self)
and the has_remote function checking:
if output.strip() == "":
2021-03-19 19:21:01 +00:00
Manuel Barkhau
0b48690dd3
bump 2021.1109 -> 2021.1110
2021-03-18 20:03:45 +00:00
Manuel Barkhau
14ffed1c36
fix lint error
2021-03-18 19:51:45 +00:00
Manuel Barkhau
689dd4b73b
cleanup regex101 url gen
2021-03-18 19:42:23 +00:00
Manuel Barkhau
b7af1bbe55
fix #157 @gh: better error messages
2021-03-18 19:41:56 +00:00
Manuel Barkhau
92213162c2
lazy import pkg_resources for faster cli
2021-03-18 18:42:35 +00:00
Manuel Barkhau
873ff229de
bump 2020.1108 -> 2021.1109
2021-01-17 21:39:29 +00:00
Manuel Barkhau
732f74439b
update license headers pycalver -> bumpver
2021-01-17 21:34:29 +00:00
Dave Wapstra
140ac2e79b
Add environment output option ( #152 )
...
Add --env option for environment output
2021-01-17 21:20:14 +00:00
Dave Wapstra
a2a302bce2
check for tag if tag-num specified
2021-01-17 19:06:45 +01: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
bce44fd240
bump 2020.1106 -> 2020.1107
2020-11-24 20:54:23 +00:00
Manuel Barkhau
883c960b3e
bump 2020.1105-beta -> 2020.1106
2020-11-24 20:14:15 +00:00
Manuel Barkhau
657bee455d
bump 2020.1104-beta -> 2020.1105-beta
2020-11-16 23:08:40 +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
5714ac3b10
fix gitlab#16: fix rollover handling for tag/pytag
2020-11-16 22:14:21 +00:00
Manuel Barkhau
6db509a113
bump 2020.1103-beta -> 2020.1104-beta
2020-11-01 18:32:14 +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
9e5c764403
fix typo
2020-10-27 14:26:30 +00:00
Manuel Barkhau
4c9e5df681
add regression test for --set-version option
2020-10-20 23:07:05 +00:00
Manuel Barkhau
def43b9e3f
update readme
2020-10-20 22:35:24 +00:00
Manuel Barkhau
ae3ebb7624
add --set-version option
2020-10-20 22:33:15 +00:00
Manuel Barkhau
6c7c7b81b7
bump 2020.1102-beta -> 2020.1103-beta
2020-10-18 21:17:33 +00:00
Manuel Barkhau
82795db06c
bump 2020.1101-beta -> 2020.1102-beta
2020-10-18 21:11:35 +00:00
Manuel Barkhau
9764ffafa9
bump 2020.1100-beta -> 2020.1101-beta
2020-10-18 21:10:24 +00:00
Manuel Barkhau
c6932060fb
bump 2020.1099-beta -> 2020.1100-beta
2020-10-18 21:06:05 +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