Build: Add a sh build script

This commit is contained in:
manuroe
2019-04-26 11:30:21 +02:00
parent e402f6f20a
commit d5e05593fb

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