mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-26 12:55:18 +01:00
build-system: tag debian-version as part of the release target
This allows, e.g. gitpkg debian/0.x-1 to do the right thing. It also helps enforce the convention that Debian upload -1 is identical to the release tarball.
This commit is contained in:
parent
b5881942d4
commit
2d69aba586
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ release: verify-source-tree-and-version
|
||||||
$(MAKE) VERSION=$(VERSION) $(GPG_FILE)
|
$(MAKE) VERSION=$(VERSION) $(GPG_FILE)
|
||||||
ln -sf $(TAR_FILE) $(DEB_TAR_FILE)
|
ln -sf $(TAR_FILE) $(DEB_TAR_FILE)
|
||||||
pristine-tar commit $(DEB_TAR_FILE) $(VERSION)
|
pristine-tar commit $(DEB_TAR_FILE) $(VERSION)
|
||||||
|
git tag -s -m "$(PACKAGE) Debian $(VERSION)-1 upload (same as $(VERSION))" debian/$(VERSION)-1
|
||||||
mkdir -p releases
|
mkdir -p releases
|
||||||
mv $(TAR_FILE) $(SHA1_FILE) $(GPG_FILE) releases
|
mv $(TAR_FILE) $(SHA1_FILE) $(GPG_FILE) releases
|
||||||
$(MAKE) VERSION=$(VERSION) release-message > $(PACKAGE)-$(VERSION).announce
|
$(MAKE) VERSION=$(VERSION) release-message > $(PACKAGE)-$(VERSION).announce
|
||||||
|
|
Loading…
Reference in a new issue