summaryrefslogtreecommitdiff
path: root/tests/tests/oldnewtagalt
blob: 098fe191eac5c6238c4051583dee0b82a1a063ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
set -e
. tests/lib

t-setup-import examplegit
t-tstunt-parsechangelog

cd $p

test-push () {
	t-commit "$1"
	t-dgit build-source
	t-dgit push
}

for count in 1 2; do
	t-oldtag
	test-push "oldtag $count"

	t-newtag
	test-push "newtag $count"
done

t-ok