summaryrefslogtreecommitdiffstats
path: root/stacksmith/user-scripts
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-12-19 19:55:30 +0200
committerLauri Ojansivu <x@xet7.org>2018-12-19 19:55:30 +0200
commitac6f8e85519da2b7eabcec6e598c96b5fb9a2cfa (patch)
treeac5c162266d719354c77dc7fdf503340e418d62a /stacksmith/user-scripts
parent23fb2bfc7f0c0bd30dc41f7e29a5ec2964d3f217 (diff)
downloadwekan-ac6f8e85519da2b7eabcec6e598c96b5fb9a2cfa.tar.gz
wekan-ac6f8e85519da2b7eabcec6e598c96b5fb9a2cfa.tar.bz2
wekan-ac6f8e85519da2b7eabcec6e598c96b5fb9a2cfa.zip
- Output Meteor 1.8.x version in build log.
Thanks to xet7 !
Diffstat (limited to 'stacksmith/user-scripts')
-rwxr-xr-xstacksmith/user-scripts/build.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/stacksmith/user-scripts/build.sh b/stacksmith/user-scripts/build.sh
index a874534a..8ea6cd91 100755
--- a/stacksmith/user-scripts/build.sh
+++ b/stacksmith/user-scripts/build.sh
@@ -3,7 +3,7 @@ set -euxo pipefail
BUILD_DEPS="bsdtar gnupg wget curl bzip2 python git ca-certificates perl-Digest-SHA"
NODE_VERSION=v8.14.0
-METEOR_RELEASE=1.6.0.1
+#METEOR_RELEASE=1.6.0.1 - for Stacksmith, meteor-1.8 branch that could have METEOR@1.8.1-beta.8 or newer
USE_EDGE=false
METEOR_EDGE=1.5-beta.17
NPM_VERSION=latest
@@ -19,6 +19,7 @@ sudo useradd --user-group --system --home-dir /home/wekan wekan
sudo mkdir -p /home/wekan
sudo chown wekan:wekan /home/wekan/
+# Using meteor-1.8 branch that has newer Meteor that is compatible with MongoDB 4.x
sudo -u wekan git clone -b meteor-1.8 https://github.com/wekan/wekan.git /home/wekan/app
sudo yum install -y ${BUILD_DEPS}
@@ -52,7 +53,9 @@ cd /home/wekan
sudo curl "https://install.meteor.com" -o /home/wekan/install_meteor.sh
sudo chmod +x /home/wekan/install_meteor.sh
sudo sed -i 's/VERBOSITY="--silent"/VERBOSITY="--progress-bar"/' ./install_meteor.sh
-echo "Starting meteor ${METEOR_RELEASE} installation... \n"
+echo "Starting installation of "
+sudo cat /home/wekan/app/.meteor/release
+echo " ...\n"
# Check if opting for a release candidate instead of major release
if [ "$USE_EDGE" = false ]; then