diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 2318cd3..4e9f417 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -93,16 +93,16 @@ jobs: if: always() run: docker compose down - - name: Incrémenter le numéro de version - if: success() - run: | - current_version=$(cat VERSION) - new_version=$(echo "$current_version + 1" | bc) - echo "$new_version" > 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" + - name: Incrémenter le numéro de version + if: success() + run: | + current_version=$(cat VERSION) + new_version=$(echo "$current_version + 1" | bc) + echo "$new_version" > 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" - name: Fusionner dans main if: success()