Compare commits

...

2 Commits

Author SHA1 Message Date
6b182e42f1 new test 2025-01-31 19:11:16 +01:00
ac0ee903b6 test : version simple 2025-01-31 19:08:02 +01:00

View File

@ -97,14 +97,14 @@ jobs:
- name: Incrémenter le numéro de version
if: success()
run: |
cat VERSION
current_version=$(cat VERSION)
new_version=$(echo "$current_version + 1" | bc)
echo "$new_version" > VERSION
currentversion=$(cat VERSION)
# new_version=$(echo "$current_version + 1" | bc)
# echo "$new_version" > VERSION
echo "$currentversion" > VERSION
git config user.name 'Gitea Actions'
git config user.email 'actions@gitea.io'
git add VERSION
git commit -m "Incrémentation automatique de la version à $new_version"
git commit -m "Incrémentation automatique de la version à $currentversion"
- name: Fusionner dans main
if: success()