diff --git a/.github/workflows/distribute.yml b/.github/workflows/distribute.yml index b766afee..1ff8f3da 100644 --- a/.github/workflows/distribute.yml +++ b/.github/workflows/distribute.yml @@ -31,19 +31,15 @@ jobs: tag_version: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - with: - fetch-depth: '0' + - uses: actions/checkout@v2 - name: Bump version and push tag id: tag_version - uses: anothrNick/github-tag-action@1.55.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - DRY_RUN: ${{ github.event.inputs.autoTag == 'false' }} - WITH_V: true - DEFAULT_BUMP: patch - VERBOSE: true - BRANCH_HISTORY: full + uses: mathieudutour/github-tag-action@v6.1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + dry_run: ${{ github.event.inputs.autoTag == 'false' }} + custom_release_rules: | + "fix:patch:Bug Fixes,hotfix:patch:Bug Fixes,refactor:minor:Refactoring,implement:minor:Features,change:minor:Changes,breaking:major:Breaking Changes,major:major:Major Changes" - name: Update manifest.json if: github.event.inputs.autoTag == 'true'