From 76da2ea14e5e10e44f4b6811e33e6180775ee674 Mon Sep 17 00:00:00 2001 From: John Doe Date: Sat, 11 Feb 2023 15:33:22 +0100 Subject: [PATCH] feat(ci):revert github tag action (demo) --- .github/workflows/distribute.yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) 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'