1
0
mirror of synced 2026-04-26 04:16:54 +00:00

Make "release" target to include "orig-tar-gz" and tagging

This commit is contained in:
Axel Beckert
2015-07-17 19:11:31 +02:00
parent 23454e7154
commit 25373a6ed6
2 changed files with 6 additions and 2 deletions

View File

@@ -245,7 +245,10 @@ manpages:
#
# Make a new release tarball, and make a GPG signature.
#
release: test tidy fixup-perms update-version update-modules clean changelog
release: orig-tar-gz
git tag -s -m "Release as $(VERSION)" "release-$(VERSION)"
release-tarball: test tidy fixup-perms update-version update-modules clean changelog
rm -rf $(DIST_PREFIX)/$(BASE)-$(VERSION)
rm -f $(DIST_PREFIX)/$(BASE)-$(VERSION).tar.gz
cp -R . $(DIST_PREFIX)/$(BASE)-$(VERSION)
@@ -261,7 +264,7 @@ release: test tidy fixup-perms update-version update-modules clean changelog
#
# Make a new orig.tar.gz for the Debian package
#
orig-tar-gz: release
orig-tar-gz: release-tarball
cp -p ../$(BASE)-$(VERSION).tar.gz ../$(BASE)_$(DEBVERSION).orig.tar.gz
cp -p ../$(BASE)-$(VERSION).tar.gz.asc ../$(BASE)_$(DEBVERSION).orig.tar.gz.asc

1
debian/changelog vendored
View File

@@ -41,6 +41,7 @@ xen-tools (4.5+dev-1) UNRELEASED; urgency=medium
- Use TMPDIR instead of TMP for temporary directories.
- Always run the full test suite before doing a release.
- Use maximum compression and don't store time stamps in tar ball.
- Make "release" target to include "orig-tar-gz" and tagging.
* Update Vcs-* headers and documentation as Gitorious closed its doors
in June 2015 and is now only available with static contents.
* Recommend debian-archive-keyring (for installing Debian DomUs on