Skip to content

Commit

Permalink
Test avec .version
Browse files Browse the repository at this point in the history
  • Loading branch information
aurelien23 committed Oct 3, 2024
1 parent 5a29c87 commit 990e5aa
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,21 @@ jobs:
git config --global user.email "github-action@noreply"
git config --global user.name "Github Action"
git tag $NEW_TAG
git commit -m "Version $NEW_TAG [skip ci]"
echo $NEW_TAG > .version
git add .version
# création du tag
git commit -m "Version $NEW_TAG"
git tag $NEW_TAG
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:
Expand Down

0 comments on commit 990e5aa

Please sign in to comment.