Merge remote-tracking branch 'origin/master' #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Auto Versioning | |
on: | |
push: | |
branches: | |
- master # or main, depending on your default branch | |
jobs: | |
versioning: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # This is important to fetch all tags and history | |
- name: Bump version and push tag | |
uses: mathieudutour/github-tag-action@v6.2 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
default_bump: patch # Automatically bump patch version | |
release_branches: master # or main | |
create_annotated_tag: true |