New Release : 2015.08.20.21.23.09
This commit is contained in:
parent
ae4f80cdff
commit
5813ed10f5
3 changed files with 16 additions and 14 deletions
0
CHANGELOG
Normal file → Executable file
0
CHANGELOG
Normal file → Executable file
2
archfi
2
archfi
|
@ -12,7 +12,7 @@
|
||||||
# referance : https://wiki.archlinux.org/index.php/Installation_guide
|
# referance : https://wiki.archlinux.org/index.php/Installation_guide
|
||||||
|
|
||||||
|
|
||||||
apptitle="Arch Linux Fast Install (archfi) - Version: 2015.08.20.21.12.25 (GPLv3)"
|
apptitle="Arch Linux Fast Install (archfi) - Version: 2015.08.20.21.23.09 (GPLv3)"
|
||||||
baseurl=https://raw.githubusercontent.com/MatMoul/archfi/master
|
baseurl=https://raw.githubusercontent.com/MatMoul/archfi/master
|
||||||
|
|
||||||
|
|
||||||
|
|
28
makerelease
Normal file → Executable file
28
makerelease
Normal file → Executable file
|
@ -40,7 +40,7 @@ sed -i '1s/^/-----------------\n/' CHANGELOG
|
||||||
sed -i '1s/^/Current Version :\n/' CHANGELOG
|
sed -i '1s/^/Current Version :\n/' CHANGELOG
|
||||||
|
|
||||||
echo "Make last commit..."
|
echo "Make last commit..."
|
||||||
git commit -m "New Release : $version" *
|
git commit -a -m "New Release : $version"
|
||||||
|
|
||||||
if [ ! "$branch" = "master"]; then
|
if [ ! "$branch" = "master"]; then
|
||||||
echo "Merge branch $branch to master..."
|
echo "Merge branch $branch to master..."
|
||||||
|
@ -55,23 +55,25 @@ if [ ! "$branch" = "master"]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Create index.html"
|
read -p "Publish to server ? (Y/n)" choice
|
||||||
|
case "$choice" in
|
||||||
|
n|N )
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
echo "Create index.html..."
|
||||||
fle=$(cat archfi)
|
fle=$(cat archfi)
|
||||||
git checkout gh-pages
|
git checkout gh-pages
|
||||||
echo "$fle" > index.html
|
echo "$fle" > index.html
|
||||||
chmod 640 index.html
|
chmod 640 index.html
|
||||||
git commit -m "New Release : $version" index.html
|
git commit -a -m "New Release : $version"
|
||||||
|
echo "Push index.html..."
|
||||||
|
git push
|
||||||
|
|
||||||
git checkout master
|
git checkout master
|
||||||
|
echo "Push release..."
|
||||||
|
git push
|
||||||
read -p "Publish to server ? (Y/n)" choice
|
|
||||||
case "$choice" in
|
|
||||||
y|Y|'' )
|
|
||||||
#git push -u origin master
|
|
||||||
git push
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#Sourceforge :
|
#Sourceforge :
|
||||||
|
|
Loading…
Reference in a new issue