Skip to content

Commit 0a969b4

Browse files
committed
Set install/update link to main branch
1 parent 36ce36d commit 0a969b4

File tree

2 files changed

+13
-18
lines changed

2 files changed

+13
-18
lines changed

Diff for: install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ else
3838
fi
3939

4040
# Get install files
41-
git clone --quiet https://github.com/infinum/app-deploy-script.git --branch feature/v2/help-readme .app_deploy_tmp
41+
git clone --quiet https://github.com/infinum/app-deploy-script.git .app_deploy_tmp
4242
echo "Installing..."
4343

4444
# Move main script to bin folder

Diff for: sources/__auto_update.sh

+12-17
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,23 @@ function __script_auto_update {
1313
echo "Fetching new data..."
1414

1515
# Create temp folder
16-
# if [ ! -d ".app_deploy_tmp" ]; then
17-
# mkdir .app_deploy_tmp
18-
# else
19-
# rm -rf .app_deploy_tmp
20-
# fi
16+
if [ ! -d ".app_deploy_tmp" ]; then
17+
mkdir .app_deploy_tmp
18+
else
19+
rm -rf .app_deploy_tmp
20+
fi
2121

2222
# Get new data
23-
# git clone --quiet https://github.com/infinum/app-deploy-script.git --branch feature/v2/local-trigger .app_deploy_tmp
24-
# echo "Updating..."
23+
git clone --quiet https://github.com/infinum/app-deploy-script.git .app_deploy_tmp
24+
echo "Updating..."
2525

26-
# # Move new data to bin / helpers
27-
# cat .app_deploy_tmp/app-deploy.sh > /usr/local/bin/app-deploy
28-
# cp -a .app_deploy_tmp/sources/. /usr/local/bin/.app-deploy-sources/
29-
30-
# LOCAL DEVELOPMENT
31-
# Comment when not in use
32-
cat /Users/jaco/Infinum/Infinum_projects/AppDeployScript/app-deploy-script/app-deploy.sh > /usr/local/bin/app-deploy
33-
cp -a /Users/jaco/Infinum/Infinum_projects/AppDeployScript/app-deploy-script/sources/. /usr/local/bin/.app-deploy-sources/
26+
# Move new data to bin / helpers
27+
cat .app_deploy_tmp/app-deploy.sh > /usr/local/bin/app-deploy
28+
cp -a .app_deploy_tmp/sources/. /usr/local/bin/.app-deploy-sources/
3429

3530
# Remove temp folder
36-
# rm -rf .app_deploy_tmp
31+
rm -rf .app_deploy_tmp
3732

38-
echo "Updating finished!"
33+
echo "Updated to $VERSION!"
3934
exit 0
4035
}

0 commit comments

Comments
 (0)