Compare commits

...

1 Commits

Author SHA1 Message Date
Guillaume Emorine
54fed5e7b5 modifié : automate.sh 2024-09-09 17:55:37 +02:00

View File

@@ -27,9 +27,12 @@ if [ $branch == 1 ] ; then
echo "Commit en cours..."
sleep 1
git commit
echo "Entrez la version du tag:"
read tag
git tag $tag
echo "Push des fichiers au Gitea, branche main..."
sleep 1
git push -q origin main
git push -q origin main --tag
fi
elif [ $branch == 2 ] ; then
@@ -45,9 +48,12 @@ elif [ $branch == 2 ] ; then
echo "Commit en cours..."
sleep 1
git commit
echo "Entrez la version du tag:"
read tag
git tag $tag
echo "Push des fichiers au Gitea, branche test..."
sleep 1
git push -q origin test
git push -q origin test --tag
fi
else