summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-06-20 17:16:40 +0300
committerLars Wirzenius <liw@liw.fi>2015-06-20 17:22:04 +0300
commitda1c18a198517f8627f6d334509e574519c8b482 (patch)
tree40a8331c5f39c0c58fec670fb0ee2388046723e5 /doc
parent174d33c14b0236319144628a7de523920b8777f8 (diff)
downloadick-da1c18a198517f8627f6d334509e574519c8b482.tar.gz
Make cleanly scenario pass
Diffstat (limited to 'doc')
-rw-r--r--doc/060-cleanly.yarn9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/060-cleanly.yarn b/doc/060-cleanly.yarn
index 359fc67..588ffbc 100644
--- a/doc/060-cleanly.yarn
+++ b/doc/060-cleanly.yarn
@@ -15,7 +15,8 @@ what the name of the project is and what its version is.
SCENARIO cleanly performs pipeline steps
GIVEN a source code repository for project foo version 3.2-1
- WHEN user runs, in foo, cleanly --ci get-name
+ WHEN user runs, in foo,
+ ... cleanly --ci --buildno 1 --debian-release debian7 get-name
THEN the output is "foo\n"
In CI mode, we want the upstream version number to be mangled, by
@@ -23,7 +24,8 @@ appending the current build number. This avoids having to rely on the
developers to update the version number diligently. For cleanly to do
this, we need to tell it the build number.
- WHEN user runs, in foo, cleanly --ci --buildno=5 get-upstream-version
+ WHEN user runs, in foo,
+ ... cleanly --ci --buildno=5 --debian-release=debian8 get-upstream-version
THEN the output is "3.2.ci5\n"
@@ -31,7 +33,8 @@ this, we need to tell it the build number.
We create a tar archive by extracing the source code from git.
- WHEN user runs, in foo, cleanly --ci --buildno 42 tarball
+ WHEN user runs, in foo,
+ ... cleanly --ci --buildno 42 --debian-release=debian7 tarball
THEN file foo-3.2.ci42.tar.xz exists
## Create Debian source package