Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 26 lines (21 sloc) 439 Bytes
if [ "$1" = "" ]; then
echo Please provide a commit message. e.g.:
echo ./release.sh \'Version 1.0\'
echo
exit
fi
TMP=build_tmp/loop
mvn -o clean package assembly:single
mkdir -p $TMP
cp ./target/loop-*-jar-with-dependencies.jar ./$TMP/loop.jar
cp loop $TMP/
cp loop.bat $TMP/
cp README $TMP/
cp LICENSE $TMP/
pushd build_tmp
tar zcf ../dist/loop.tar.gz loop/*
popd
rm -rf build_tmp
git add dist
git commit -a -m "$1"
git push
Jump to Line
Something went wrong with that request. Please try again.