Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
715d5c66a6 |
10
automate.sh
10
automate.sh
@@ -27,12 +27,9 @@ if [ $branch == 1 ] ; then
|
|||||||
echo "Commit en cours..."
|
echo "Commit en cours..."
|
||||||
sleep 1
|
sleep 1
|
||||||
git commit
|
git commit
|
||||||
echo "Entrez la version du tag:"
|
|
||||||
read tag
|
|
||||||
git tag $tag
|
|
||||||
echo "Push des fichiers au Gitea, branche main..."
|
echo "Push des fichiers au Gitea, branche main..."
|
||||||
sleep 1
|
sleep 1
|
||||||
git push -q origin main --tag
|
git push -q origin main
|
||||||
fi
|
fi
|
||||||
|
|
||||||
elif [ $branch == 2 ] ; then
|
elif [ $branch == 2 ] ; then
|
||||||
@@ -48,12 +45,9 @@ elif [ $branch == 2 ] ; then
|
|||||||
echo "Commit en cours..."
|
echo "Commit en cours..."
|
||||||
sleep 1
|
sleep 1
|
||||||
git commit
|
git commit
|
||||||
echo "Entrez la version du tag:"
|
|
||||||
read tag
|
|
||||||
git tag $tag
|
|
||||||
echo "Push des fichiers au Gitea, branche test..."
|
echo "Push des fichiers au Gitea, branche test..."
|
||||||
sleep 1
|
sleep 1
|
||||||
git push -q origin test --tag
|
git push -q origin test
|
||||||
fi
|
fi
|
||||||
|
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user