Skip to content

Commit

Permalink
Merge pull request #12 from IvanildoBarauna/feat-AutoRelease
Browse files Browse the repository at this point in the history
feat AutoRelease
  • Loading branch information
IvanildoBarauna authored Jun 11, 2024
2 parents afedbd2 + b66321a commit acca957
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 acca957

Please sign in to comment.