Update makerelease

This commit is contained in:
MatMoul 2019-02-02 22:21:11 +01:00
parent f051286078
commit 6c9fe0edb1

View file

@ -48,6 +48,7 @@ git commit -a -m "New Release : $version"
if [ ! "$branch" = "master" ]; then
echo "Merge branch $branch to master..."
git checkout master
git pull
git merge $branch
read -p "Delete branch $branch ? (y/N)" choice
@ -68,6 +69,7 @@ esac
echo "Create index.html..."
fle=$(cat archdi)
git checkout gh-pages
git pull
echo "$fle" > index.html
chmod 640 index.html
git commit -a -m "New Release : $version"