mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 06:20:08 +01:00
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>
This commit is contained in:
parent
8dc594c055
commit
a0f092c61b
6 changed files with 34 additions and 21 deletions
|
|
@ -258,6 +258,15 @@ def test_incr_tag(runner):
|
|||
assert f"Version: {new_version}\n" in result.output
|
||||
|
||||
|
||||
def test_dev_tag(runner):
|
||||
old_version = "0.1.0"
|
||||
new_version = "0.1.1dev0"
|
||||
|
||||
result = runner.invoke(cli.cli, ['test', "-vv", old_version, SEMVER, "--patch", "--tag", "dev"])
|
||||
assert result.exit_code == 0
|
||||
assert f"Version: {new_version}\n" in result.output
|
||||
|
||||
|
||||
def test_incr_tag_num(runner):
|
||||
old_version = "0.1.0b0"
|
||||
new_version = "0.1.0b1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue