Skip to content

Commit

Permalink
Updated build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
cdgco committed Apr 14, 2020
1 parent db9fadb commit f162bc2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ sed -i "s#VestaWebInterface@.*/css/colors/default.css#VestaWebInterface@$VERSION
sed -i "s#VestaWebInterface@.*/js/main.js#VestaWebInterface@$VERSION/js/main.js#g" install/vesta/web/templates/r_3.php
sed -i "s#VestaWebInterface@.*/css/colors/blue.css#VestaWebInterface@$VERSION/css/style.css\" rel=\"stylesheet\"><link href=\"https://cdn.jsdelivr.net/gh/cdgco/VestaWebInterface@$VERSION/css/colors/blue.css#g" .htaccess

printf "Enter the changelog in HTML (<br> format: "
printf "Enter the changelog in HTML (<br>) format: "
read CHANGELOG

sed -i "s/## Changelog.*###/## Changelog\n\n### v$VERSION\n$CHANGELOG\n\n###/g" docs/changelog.md
Expand All @@ -74,11 +74,11 @@ fi

tar -cvzf install/vesta.tar.gz -C install vesta

git commit -a -m "$VERSION"
git push origin $VERSION
git commit -a -m "v$VERSION"
git push origin v$VERSION
git checkout master

printf "Build complete. New branch on Github named $VERSION.\n\n"
printf "Build complete. New branch on Github named v$VERSION.\n\n"
read -p "Press [Enter] key to close ..."
exit 1

Expand Down

0 comments on commit f162bc2

Please sign in to comment.