From 443b17207574d758d46322bb0f495fca4156e104 Mon Sep 17 00:00:00 2001 From: hcornet Date: Thu, 30 Jan 2025 20:15:14 +0100 Subject: [PATCH] ahhhhhhhhhhhh --- .gitea/workflows/ci.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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()