From 6b182e42f13dcf978094197de2e7b0240b2b20bb Mon Sep 17 00:00:00 2001 From: hcornet Date: Fri, 31 Jan 2025 19:11:16 +0100 Subject: [PATCH] new test --- .gitea/workflows/ci.yml | 10 +++++----- VERSION | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index abd9c96..0e869dd 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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() diff --git a/VERSION b/VERSION index d8263ee..d2c4b27 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2 \ No newline at end of file +1.8.7 \ No newline at end of file