From 0efd042f7740f967fe7d9ba835872129d6961598 Mon Sep 17 00:00:00 2001 From: hcornet Date: Fri, 31 Jan 2025 19:12:59 +0100 Subject: [PATCH] test --- .gitea/workflows/ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index f99a5b2..0ebd3ee 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -97,14 +97,13 @@ jobs: - name: Incrémenter le numéro de version if: success() run: | -# current_version=$(cat VERSION) - VERSION=$(cat VERSION) -# new_version=$(echo "$current_version + 1" | bc) -# echo "$new_version" > VERSION + 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 à $VERSION" + git commit -m "Incrémentation automatique de la version à $new_version" - name: Fusionner dans main if: success()