Skip to content

Commit 0a4bbc6

Browse files
committed
Pull Debian version from setup.py version.
1 parent 8ab22cc commit 0a4bbc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ BUILD_NUMBER ?= 1
66
debian/changelog:
77
-git branch -D changelog
88
git checkout -b changelog
9-
git-dch -a --debian-branch changelog --snapshot \
10-
--snapshot-number=$(BUILD_NUMBER)
9+
git-dch -a -N $(shell python setup.py --version) --debian-branch changelog \
10+
--snapshot --snapshot-number=$(BUILD_NUMBER)
1111

1212
dist:
1313
mkdir -p $@

0 commit comments

Comments
 (0)