mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-21 21:25:38 +00:00
Orchestration delivery: base and create master scenario
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ "$#" == 1 ]
|
||||
then
|
||||
version=${1}
|
||||
echo "creating distribution with version ${version}..."
|
||||
|
||||
tar -cvzf ./orchestration-${version}.tgz -T ./includeFilesDistro
|
||||
ret=$?
|
||||
if [ "$ret" != "0" ]
|
||||
then
|
||||
echo "did not create distribution correctly."
|
||||
else
|
||||
echo "successfully created distribution."
|
||||
fi
|
||||
|
||||
exit ${ret}
|
||||
else
|
||||
echo "version not specified/entered wrong number of parameters"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user