Skip to content
Snippets Groups Projects
Commit d9c5c478 authored by AndiMajore's avatar AndiMajore
Browse files

rc7 test

parent 2046d615
No related branches found
No related tags found
No related merge requests found
{
"name": "netex",
"version": "0.8.5",
"version": "0.8.6-rc8",
"scripts": {
"ng": "ng",
"start:local": "ng serve --configuration=local",
......
......@@ -16,10 +16,10 @@ fi
VERSION=v$1
MESSAGE=$2
cd ../../
echo "Cloning Release Repo..."
git clone git@github.com:AndiMajore/drugstone-releases.git
echo "Updating Repo..."
#cd ../../
#echo "Cloning Release Repo..."
#git clone git@github.com:AndiMajore/drugstone-releases.git
#echo "Updating Repo..."
#echo "Building release..."
#cd frontend || exit
......@@ -33,17 +33,17 @@ echo "Updating Repo..."
#cd ../
#cp frontend/drugsTone-build/* drugstone-releases/dev/
#
echo "Building remote..."
cd frontend || exit
npm run build:netex-remote
cd ../
cp frontend/drugsTone-build/* drugstone-releases/remote/
#echo "Building remote..."
#cd frontend || exit
#npm run build:netex-remote
#cd ../
#cp frontend/drugsTone-build/* drugstone-releases/remote/
echo "Building v-server dock1..."
cd frontend || exit
npm run build:netex-dock1
cd ../
cp frontend/drugsTone-build/* drugstone-releases/dock1/
#echo "Building v-server dock1..."
#cd frontend || exit
#npm run build:netex-dock1
#cd ../
#cp frontend/drugsTone-build/* drugstone-releases/dock1/
#echo "Building v-server dock2..."
#cd frontend || exit
......@@ -51,14 +51,14 @@ cp frontend/drugsTone-build/* drugstone-releases/dock1/
#cd ../
#cp frontend/drugsTone-build/* drugstone-releases/uhh/
cd drugstone-releases || echo "Error!" exit
git commit -am "$VERSION commit: $MESSAGE"
git push
#cd drugstone-releases || echo "Error!" exit
#git commit -am "$VERSION commit: $MESSAGE"
#git push
echo "Tagging Version..."
git tag -a "$VERSION" -m "$MESSAGE"
echo "Releasing Version..."
git push origin "$VERSION"
echo "Clean up..."
cd ../
rm -rf drugstone-releases
#echo "Clean up..."
#cd ../
#rm -rf drugstone-releases
echo "Done!"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment