diff options
author | David Bremner <bremner@debian.org> | 2011-07-17 11:18:10 -0300 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2011-07-17 11:20:51 -0300 |
commit | 2d69aba586b52566f322a347d459503d53de6ce6 (patch) | |
tree | 522ac7eb176cf634e7a6d02523c7685c4bbd4789 /Makefile.local | |
parent | b5881942d4c9e1377bbd2a681a17f3e9cdb43e6a (diff) |
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.
Diffstat (limited to 'Makefile.local')
-rw-r--r-- | Makefile.local | 1 |
1 files changed, 1 insertions, 0 deletions
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 |