From 5a29c87a3befe9f8573e729a566a5a84df77d733 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Charot?= Date: Thu, 3 Oct 2024 09:28:37 +0200 Subject: [PATCH] Test sans .version --- .github/workflows/create-release.yml | 11 ++--------- .version | 1 - 2 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 .version diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 2c0c53f..f99d637 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -49,21 +49,14 @@ jobs: git config --global user.email "github-action@noreply" git config --global user.name "Github Action" - echo $NEW_TAG > .version - git add .version - # création du tag - git commit -m "Version $NEW_TAG" - git tag $NEW_TAG + git tag $NEW_TAG + git commit -m "Version $NEW_TAG [skip ci]" git push origin $NEW_TAG - git commit --amend -m "Version $NEW_TAG [skip ci]" - git push # merge la préparation de la nouvelle version sur develop git switch develop git merge main -m "Merge main to develop [skip ci]" git push - - - name: 'Create the github release' uses: softprops/action-gh-release@v1 with: diff --git a/.version b/.version deleted file mode 100644 index 5a5831a..0000000 --- a/.version +++ /dev/null @@ -1 +0,0 @@ -0.0.7