This commit is contained in:
Hubert Cornet 2025-01-31 19:11:16 +01:00
parent ac0ee903b6
commit 6b182e42f1
2 changed files with 6 additions and 6 deletions

View File

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

View File

@ -1 +1 @@
2 1.8.7