summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib b/tests/lib
index 82ef7c2..9b8894e 100644
--- a/tests/lib
+++ b/tests/lib
@@ -654,7 +654,7 @@ t-gbp-example-prep () {
t-commit () {
local msg=$1
- v=${2:-1.$revision}
+ v=${2:-${majorv:-1}.$revision}
dch -v$v --distribution ${3:-unstable} "$1"
git add debian/changelog
debcommit