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