Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 22 lines (17 sloc) 0.463 kb
#!/bin/bash
set -e
if [ $# -ne 2 ] ; then
echo "Usage: $0 <branch> <tag>"
echo "Example: $0 v0.4 v0.4.3"
exit 1
fi
BRANCH=$1
TAG=$2
git checkout ${BRANCH}
if [ "$(cat .version)" != "${TAG:1}" ] ; then
echo "${TAG:1}" > .version
git add .version
git commit -s -m "build: update .version to ${TAG:1}"
fi
git tag -a -m "Tagged release $TAG" $TAG $BRANCH
make export TAG=${TAG} TARPREFIX=matahari-${TAG:1} TARFILE=matahari-${TAG:1}.tar.gz
Jump to Line
Something went wrong with that request. Please try again.