From 2d69aba586b52566f322a347d459503d53de6ce6 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sun, 17 Jul 2011 11:18:10 -0300 Subject: [PATCH] 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. --- Makefile.local | 1 + 1 file changed, 1 insertion(+) 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 -- 2.26.2