summaryrefslogtreecommitdiff
path: root/bumper.yarn
diff options
context:
space:
mode:
Diffstat (limited to 'bumper.yarn')
-rw-r--r--bumper.yarn9
1 files changed, 4 insertions, 5 deletions
diff --git a/bumper.yarn b/bumper.yarn
index d204a96..230dda7 100644
--- a/bumper.yarn
+++ b/bumper.yarn
@@ -60,7 +60,7 @@ also stored.
We run Bumper, and it does several things.
- WHEN user runs "bumper 3.2 foolib/version.py" in the foo directory
+ WHEN user runs "bumper 3.2" in the foo directory
Bumper creates a git tag for the release, and updates files in the tag
to have the right version number.
@@ -85,7 +85,7 @@ the tag) won't report a version number that looks like a release.
We can also make a second release.
- WHEN user runs "bumper 3.4 foolib/version.py" in the foo directory
+ WHEN user runs "bumper 3.4" in the foo directory
THEN git repository foo has tag foo-3.4, signed with AA8CD13C
AND in foo, tag foo-3.4, foolib/version.py contains
... "__version__ = "3.4"\n__version_info__ = (3, 4)\n"
@@ -161,13 +161,12 @@ for Bumper.
cliapp.runcmd(['git', 'add', 'debian'], cwd=dirname)
cliapp.runcmd(['git', 'commit', '-m', 'Add debian packaging'], cwd=dirname)
- IMPLEMENTS WHEN user runs "bumper (\S+) (\S+)" in the (\S+) directory
+ IMPLEMENTS WHEN user runs "bumper (\S+)" in the (\S+) directory
import cliapp, yarnstep
version = yarnstep.get_next_match()
- filename = yarnstep.get_next_match()
dirname = yarnstep.get_next_match_as_datadir_path()
bin = yarnstep.srcdir('bumper')
- cliapp.runcmd([bin, version, filename], cwd=dirname)
+ cliapp.runcmd([bin, version], cwd=dirname)
IMPLEMENTS THEN file (\S+) in (\S+) contains "(.*)"
import os, yarnstep