Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 46BFD179F5 for ; Tue, 17 Feb 2015 19:29:35 +0000 (UTC) Received: (qmail 20961 invoked by uid 500); 17 Feb 2015 19:29:35 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 20898 invoked by uid 500); 17 Feb 2015 19:29:35 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 20887 invoked by uid 99); 17 Feb 2015 19:29:34 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Feb 2015 19:29:34 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id A1A4CE03C8; Tue, 17 Feb 2015 19:29:34 +0000 (UTC) From: sebastianrothbucher To: dev@couchdb.apache.org Reply-To: dev@couchdb.apache.org References: In-Reply-To: Subject: [GitHub] couchdb pull request: Add first stab at a release build script. Content-Type: text/plain Message-Id: <20150217192934.A1A4CE03C8@git1-us-west.apache.org> Date: Tue, 17 Feb 2015 19:29:34 +0000 (UTC) Github user sebastianrothbucher commented on the pull request: https://github.com/apache/couchdb/pull/302#issuecomment-74735160 Hi Jan, I don't get through yet (CentOS 7), but here is the first thing that can help: diff --git a/build-aux/couchdb-build-release.sh b/build-aux/couchdb-build-release.sh index 50b1897..ce1a8cf 100755 --- a/build-aux/couchdb-build-release.sh +++ b/build-aux/couchdb-build-release.sh @@ -6,7 +6,7 @@ rm -rf $RELDIR mkdir $RELDIR # copy sources over -git archive build | tar -xC $RELDIR/ +git archive `git rev-parse --abbrev-ref HEAD` | tar -xC $RELDIR/ mkdir $RELDIR/src cd src/ --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---