[exim-cvs] quickrelease: A dumb script for making source-onl…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Exim Git Commits Mailing List
日付:  
To: exim-cvs
題目: [exim-cvs] quickrelease: A dumb script for making source-only tarballs
Gitweb: http://git.exim.org/exim.git/commitdiff/af548e04066be00accef8adda14086b893f41128
Commit:     af548e04066be00accef8adda14086b893f41128
Parent:     32a1dd3f7259a98aa120274b78b9de759d8c0140
Author:     Tony Finch <dot@???>
AuthorDate: Thu Nov 7 16:25:51 2013 +0000
Committer:  Tony Finch <dot@???>
CommitDate: Thu Nov 7 16:25:51 2013 +0000


    quickrelease: A dumb script for making source-only tarballs
---
 release-process/scripts/quickrelease |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)


diff --git a/release-process/scripts/quickrelease b/release-process/scripts/quickrelease
new file mode 100755
index 0000000..dd16fa0
--- /dev/null
+++ b/release-process/scripts/quickrelease
@@ -0,0 +1,30 @@
+#!/bin/sh
+#
+# A really dumb script for making a quick tarball of Exim
+
+set -e
+
+OWD=$(pwd -P)
+
+GWD=$(git rev-parse --git-dir)
+
+TWD=$(mktemp -d -t exim) || exit 1
+echo $TWD
+cd $TWD
+
+git clone $GWD
+
+cd exim/src/src
+../scripts/reversion
+. version.sh
+EXIM=exim-${EXIM_RELEASE_VERSION}${EXIM_VARIANT_VERSION}
+
+cd ../..
+mv src $EXIM
+tar cfz $EXIM.tar.gz $EXIM
+mv $EXIM src
+
+cd $OWD
+mv $TWD/exim/$EXIM.tar.gz .
+rm -rf $EXIM
+echo $EXIM.tar.gz