Skip to content

Commit

Permalink
OZ-279: Adjust helper script to expect Ozone version as paramater
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuisson committed Feb 15, 2024
1 parent 9bf1ade commit 44c42b3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Binary file added scripts/apache-maven-3.9.6-bin.tar.gz
Binary file not shown.
13 changes: 11 additions & 2 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,17 @@ echo ""
echo " See https://docs.ozone-his.com/ for how to set it up for production."
echo ""

# Default to current code version
ozoneVersion=${1:-1.0.0-SNAPSHOT}

ozoneVersion=$1
if [ ! "$1" ]
then
echo "$ERROR Please provide the Ozone version number as parameter to this script."
echo "Eg:"
echo " './install.sh 1.0.0-alpha.9'"
echo ""
echo "Aborting..."
exit 1
fi

echo "$INFO Ozone version: $ozoneVersion"

Expand Down

0 comments on commit 44c42b3

Please sign in to comment.