Skip to content

Commit

Permalink
chore: added auto-release
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanildoBarauna committed Jun 11, 2024
1 parent 79093c9 commit b66321a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/CD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ jobs:
poetry config virtualenvs.create false
poetry install
- name: Increment version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
poetry version patch # params: patch, minor, major
git config --global user.name 'GitHub Actions'
git config --global user.email '[email protected]'
git commit -am "chore: Incremented version"
git remote set-url origin https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
git push
git tag $(poetry version -s)
git push origin --tags
Expand Down

0 comments on commit b66321a

Please sign in to comment.