Build: Add a sh build script

This commit is contained in:
manuroe 2019-04-26 11:30:21 +02:00
parent 3945a3d99d
commit e5f8b419c5

View file

@ -1,8 +1,10 @@
#!/bin/sh
# Use sudo less Ruby
export GEM_HOME=$HOME/.gem
export PATH=$GEM_HOME/bin:$PATH
if [ ! $# -eq 1 ]; then
echo "Usage: ./buildRelease.sh [tag or branch]"
exit 1
@ -31,6 +33,7 @@ gem install bundler
bundle install
bundle update
# Checkout the source to build
mkdir -p $BUILD_DIR
cd $BUILD_DIR