Commit graph

537 commits

Author SHA1 Message Date
Manuel Barkhau
a8da75e538 fix test referencing copyright header 2023-05-04 16:46:19 +00:00
Manuel Barkhau
ecafb3c217 bump 2022.1120 -> 2023.1121 2023-05-04 16:02:46 +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
Manuel Barkhau
8dc594c055 Fix #200 - Use looseversion if pkg_resources doesn't work 2023-05-04 14:37:15 +00:00
Manuel Barkhau
ffe28e6fff bump 2022.1119 -> 2022.1120 2022-12-02 00:43:56 +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
5edb0ee3f4 bump 2022.1118 -> 2022.1119 2022-10-14 17:27:13 +00:00
Manuel Barkhau
42cf869d62 update logo 2022-10-14 17:26:58 +00:00
Manuel Barkhau
ae07728a5b py27 compat fix 2022-10-14 17:19:44 +00:00
Manuel Barkhau
afe82cf7c3 allow compat tests to be filtered 2022-10-14 17:19:44 +00:00
Manuel Barkhau
c90d3ca5e5 update changelog 2022-10-14 17:19:44 +00:00
Manuel Barkhau
3879281dbd fix mypy 2022-10-14 17:19:44 +00:00
Manuel Barkhau
eab4e2b1b4 lint fix 2022-10-14 17:19:44 +00:00
Manuel Barkhau
61a5556a4a make fmt 2022-10-14 17:19:44 +00:00
Manuel Barkhau
7d56d7b582 fix #190 - Enable multiple patterns on one line 2022-10-14 17:19:44 +00:00
Manuel Barkhau
b2c5652332 pin pylint due to breaking changes 2022-10-14 07:47:05 +00:00
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