Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 21 lines (17 sloc) 0.505 kB
#!/bin/sh -e
COUCHDB_VERSION=`git describe --match 1.*`
BIGCOUCH_VERSION=`git describe`
rm -rf .tmp
git archive HEAD --prefix=.tmp/bigcouch/ | tar xf -
pushd .tmp/bigcouch
git init
git add --all
git commit -m "Tarball commit"
git tag -m "CouchDB version" "$COUCHDB_VERSION"
echo "This is the release tarball for $BIGCOUCH_VERSION" > BUILD
git add BUILD
git commit -am "Tarball commit"
git tag -m "BigCouch version" "$BIGCOUCH_VERSION"
popd
tar czf $BIGCOUCH_VERSION.tar.gz -C .tmp bigcouch
rm -rf .tmp
Jump to Line
Something went wrong with that request. Please try again.