diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-04-22 21:40:47 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-04-22 21:40:47 +0300 |
commit | 468d18f58c9d7d71f45627b699c0c2e9f81d03d0 (patch) | |
tree | e97ff6d4209b8d92bc5374618e462cdd55f0da0b | |
parent | 470abf361760b49772536ed1158122e3a9254f67 (diff) | |
download | bumper-468d18f58c9d7d71f45627b699c0c2e9f81d03d0.tar.gz |
Fixes to yarn
-rw-r--r-- | bumper.yarn | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bumper.yarn b/bumper.yarn index 7a5410e..c5dfc4e 100644 --- a/bumper.yarn +++ b/bumper.yarn @@ -94,7 +94,7 @@ to have the right version number. THEN git repository foo has tag foo-3.2, signed with AA8CD13C AND in foo, tag foo-3.2, foolib/version.py contains ... "__version__ = "3.2"\n__version_info__ = (3, 2)\n" - AND in foo, tag foo-3.2, version.txt contains "version = 3.2\n" + AND in foo, tag foo-3.2, version.txt contains "3.2\n" AND in foo, tag foo-3.2, version.yaml contains ... "version: 3.2\nversion_info: [3, 2]\n" AND in foo, tag foo-3.2, NEWS matches @@ -109,7 +109,7 @@ the tag) won't report a version number that looks like a release. ... "__version__ = "3.2+git"\n__version_info__ = (3, 2, '+git')\n" AND file debian/changelog in foo matches ... "foo \\(3\\.2\\+git-1\\) UNRELEASED;" - AND file version.txt in foo contains "version = 3.2+git\n" + AND file version.txt in foo contains "3.2+git\n" AND file version.yaml in foo contains ... "version: 3.2+git\nversion_info: [3, 2, '+git']\n" AND file NEWS in foo matches @@ -123,7 +123,7 @@ We can also make a second release. ... "__version__ = "3.4"\n__version_info__ = (3, 4)\n" AND in foo, tag foo-3.4, NEWS matches ... "^Version 3.4, released \\d\\d\\d\\d-\\d\\d-\\d\\d$" - AND in foo, tag foo-3.4, version.txt contains "version = 3.4\n" + AND in foo, tag foo-3.4, version.txt contains "3.4\n" AND in foo, tag foo-3.4, version.yaml contains ... "version: 3.4\nversion_info: [3, 4]\n" AND in foo, tag foo-3.4, has Debian version 3.4-1 |