diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/publish.testscript | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/publish.testscript b/tests/publish.testscript index df3a817..55bc01a 100644 --- a/tests/publish.testscript +++ b/tests/publish.testscript @@ -257,6 +257,13 @@ g = git -C prj >! 2>! info: use --force=uncommitted to publish anyway EOE + # Note that the uncomitted snapshot sn is the previous commit time + 1 + # and the commited snapshot sn is the commit time. That's why let's + # sleep a bit to make sure that the package version increases with the + # commit. + # + sleep 1; + $g commit -a -m 'Version'; $* 2>>~%EOE% != 0; |