[icinga-checkins] icinga.org: icinga2/next: INSTALL: Fix git archive on CentOS 6.5

git at icinga.org git at icinga.org
Fri Jun 13 19:32:54 CEST 2014


Module: icinga2
Branch: next
Commit: 36deb634cc659bfb1ea8a3568e807170529e886e
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=36deb634cc659bfb1ea8a3568e807170529e886e

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Fri Jun 13 19:32:34 2014 +0200

INSTALL: Fix git archive on CentOS 6.5

---

 INSTALL |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/INSTALL b/INSTALL
index 8eecb4e..b948d6c 100644
--- a/INSTALL
+++ b/INSTALL
@@ -90,11 +90,18 @@ disable the usage of "git describe".
 
 Use "git archive" to build the release tarball:
 
-$ git archive --format=tgz --prefix=icinga2-<VERSION>/ tags/v<VERSION>
+$ VERSION=2.0.0
+$ git archive --format=tgz --prefix=icinga2-$VERSION/ tags/v$VERSION
+
+On CentOS 6.x use
+
+$ VERSION=2.0.0
+$ git archive --format=tar --prefix=icinga2-$VERSION/ tags/v$VERSION | gzip >icinga2-$VERSION.tar.gz
 
 Finally you should verify that the tarball only contains the files it should contain:
 
-$ tar ztf icinga2-<VERSION>.tar.gz | less
+$ VERSION=2.0.0
+$ tar ztf icinga2-$VERSION.tar.gz | less
 
 
 ## Building Icinga 2



More information about the icinga-checkins mailing list