Commit graph

521 commits

Author SHA1 Message Date
Bruce Schultz
1e743aa56d Revert "bump 2022.1119 -> 2022.1120"
This reverts commit cacf64c9c8aa6314f866743a2a0de0db399bbe3a.
2022-10-14 07:47:05 +00:00
Bruce Schultz
ff91ed754c bump 2022.1119 -> 2022.1120 2022-10-14 07:47:05 +00:00
Bruce Schultz
56e8eb9bc0 fix: add quotes to path in "add_path" subcommand 2022-10-14 07:47:05 +00:00
Manuel Barkhau
eb0e282a69 document and use regex line terminator characters 2022-07-01 22:55:00 +00:00
Manuel Barkhau
0fb3f5a88a update changelog 2022-07-01 22:47:39 +00:00
Manuel Barkhau
f33f933739 bump 2022.1117 -> 2022.1118 2022-07-01 22:44:54 +00:00
Manuel Barkhau
fa6d48fd9f remove regex chars: ^ and $ during replacement 2022-07-01 22:34:59 +00:00
Manuel Barkhau
023f9bffcd bump 2022.1116 -> 2022.1117 2022-06-08 20:07:04 +00:00
Manuel Barkhau
0d8b6a5538 make fmt 2022-06-08 20:02:27 +00:00
Daylin Morgan
5a2f90bce3 add support for -h 2022-06-08 20:02:27 +00:00
Manuel Barkhau
d025746695 undocument GITHASH 2022-06-08 19:48:18 +00:00
Manuel Barkhau
1695fb0670 update readme 2022-06-08 19:48:18 +00:00
Manuel Barkhau
21b94001e4 pin mypy 2022-06-08 19:48:18 +00:00
Manuel Barkhau
4af41bff62 pin pylint 2022-06-08 19:48:18 +00:00
Manuel Barkhau
ad837c09dd make fmt 2022-06-08 19:48:18 +00:00
Michał Pasternak
da44922261 Optional GITHASH directive for version_pattern
Optionally add GIT hash to your version number.
2022-06-08 19:48:18 +00:00
Manuel Barkhau
e96904438b bugfix 2022-06-08 19:48:18 +00:00
Manuel Barkhau
9be1186601 fix #171: parse remote (remove hardcoded 'origin') 2022-03-12 00:22:23 +00:00
Manuel Barkhau
25b6d39c03 bump 2022.1115 -> 2022.1116 2022-03-11 12:43:28 +00:00
Manuel Barkhau
04ba386802 credit @timoludwig 2022-03-11 09:52:49 +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
defbf89fa8 fix hardcoded test cases 2022-02-11 22:49:58 +00:00
Manuel Barkhau
328ef5c10a bump 2021.1114 -> 2022.1115 2022-02-11 22:44:31 +00:00
Manuel Barkhau
465c6831d9 update changelog 2022-02-11 22:43:52 +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
Manuel Barkhau
52af1e554e release prep 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
Manuel Barkhau
c8138d89ef fix missing compat tests on gh 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
mbarkhau
48da0a51bf
fix typo 2021-09-10 16:00:13 +00:00
Manuel Barkhau
172dd90611 updates for mypy 2021-07-19 16:12:04 +00:00
Manuel Barkhau
9137e84bed pacify the pedants 2021-07-19 16:09:25 +00:00
Manuel Barkhau
1549e84aee cleanup old icons 2021-07-11 23:03:45 +00:00
Manuel Barkhau
4faea54781 drop pypy2.7 (not available for osx anymore) 2021-05-13 20:36:26 +00:00
Manuel Barkhau
bf6aa6549f macos ci fix 🤞 2021-05-13 20:18:38 +00:00
Manuel Barkhau
0219eaf557 use py39 on docker ci 2021-05-13 20:03:07 +00:00
Manuel Barkhau
9379984b93 bump 2021.1112 -> 2021.1113 2021-05-13 19:33:12 +00:00
Manuel Barkhau
c69839f448 update changelog 2021-05-13 19:31:15 +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
26e3232170 update changelog 2021-04-02 20:34:34 +00:00