From: David Bremner Date: Sun, 17 Jul 2011 14:18:10 +0000 (-0300) Subject: build-system: tag debian-version as part of the release target X-Git-Tag: 0.6.1^0 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=2d69aba586b52566f322a347d459503d53de6ce6;ds=inline 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. --- diff --git a/Makefile.local b/Makefile.local index e9cee27d..33fdcc93 100644 --- a/Makefile.local +++ b/Makefile.local @@ -100,6 +100,7 @@ release: verify-source-tree-and-version $(MAKE) VERSION=$(VERSION) $(GPG_FILE) ln -sf $(TAR_FILE) $(DEB_TAR_FILE) 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 mv $(TAR_FILE) $(SHA1_FILE) $(GPG_FILE) releases $(MAKE) VERSION=$(VERSION) release-message > $(PACKAGE)-$(VERSION).announce