Compare commits

..

1 Commits

View File

@@ -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