diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-01-25 17:26:56 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-01-25 17:27:27 +0300 |
commit | 782e978d23f0fa0d7d01b924f84caa82284e8520 (patch) | |
tree | d334b192f1bc7fe737be125d188fc89d9fb7624a /tests/release.testscript | |
parent | 9675f9b20540e4b9b64033dca4afafba01ee36d7 (diff) |
Add stub revision release test
Diffstat (limited to 'tests/release.testscript')
-rw-r--r-- | tests/release.testscript | 31 |
1 files changed, 24 insertions, 7 deletions
diff --git a/tests/release.testscript b/tests/release.testscript index 7ed968f..9b77674 100644 --- a/tests/release.testscript +++ b/tests/release.testscript @@ -84,12 +84,12 @@ log2 = $gp2 log '--pretty=format:"%d %s"' EOO cat prj2/manifest >>~%EOO% - %.* - name: prj - version: 0.2.0-a.0.z - summary: prj executable - %.* - EOO + %.* + name: prj + version: 0.2.0-a.0.z + summary: prj executable + %.* + EOO } : alpha @@ -499,7 +499,7 @@ log2 = $gp2 log '--pretty=format:"%d %s"' +echo '' >+ prj/manifest +$gp add manifest - : default + : normal : { $clone_repos; @@ -516,6 +516,23 @@ log2 = $gp2 log '--pretty=format:"%d %s"' EOO } + : stub + : + { + $clone_root_repos; + + sed -i -e 's/^(version:) .*$/\1 0/' prj/manifest; + $gp add manifest; + + $* --revision; + + $clone2; + $log2 >>:~%EOO% + % \(HEAD -> master, tag: v0, \.*\) Release version 0\+1%d + Create + EOO + } + : no-tag : { |