diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-06-20 17:16:40 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-06-20 17:22:04 +0300 |
commit | da1c18a198517f8627f6d334509e574519c8b482 (patch) | |
tree | 40a8331c5f39c0c58fec670fb0ee2388046723e5 /doc | |
parent | 174d33c14b0236319144628a7de523920b8777f8 (diff) | |
download | ick-da1c18a198517f8627f6d334509e574519c8b482.tar.gz |
Make cleanly scenario pass
Diffstat (limited to 'doc')
-rw-r--r-- | doc/060-cleanly.yarn | 9 |
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 |