summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-02-14 12:58:10 +0200
committerLars Wirzenius <liw@liw.fi>2016-02-14 12:58:10 +0200
commit70668a5053c800b9b5a5d4f964f79e503928b11b (patch)
treebbcc8c64c4480fafdade8875e9fbf9d703709140
parent73eb0c175d40bb7273f45a025e1278fcda552772 (diff)
downloadbumper-70668a5053c800b9b5a5d4f964f79e503928b11b.tar.gz
Reorder tests a bit
-rw-r--r--bumper.yarn6
1 files changed, 5 insertions, 1 deletions
diff --git a/bumper.yarn b/bumper.yarn
index 99c7e19..4921335 100644
--- a/bumper.yarn
+++ b/bumper.yarn
@@ -60,14 +60,18 @@ also stored.
We run Bumper, and it does several things.
WHEN user runs "bumper 3.2 foolib/version.py" in the foo directory
+
+Bumper creates a git tag for the release, and updates files in the tag
+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, NEWS matches
... "^Version 3.2, released \\d\\d\\d\\d-\\d\\d-\\d\\d$"
+ AND in foo, tag foo-3.2, has Debian version 3.2-1
AND file foolib/version.py in foo contains
... "__version__ = "3.2"\n__version_info__ = (3, 2)\n"
- AND in foo, tag foo-3.2, has Debian version 3.2-1
# Appendix: Scenario step implementations