Skip to content

Commit 76da2ea

Browse files
committed
feat(ci):revert github tag action (demo)
1 parent f2317d5 commit 76da2ea

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

.github/workflows/distribute.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,15 @@ jobs:
3131
tag_version:
3232
runs-on: ubuntu-latest
3333
steps:
34-
- uses: actions/checkout@v3
35-
with:
36-
fetch-depth: '0'
34+
- uses: actions/checkout@v2
3735
- name: Bump version and push tag
3836
id: tag_version
39-
uses: anothrNick/github-tag-action@1.55.0
40-
env:
41-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42-
DRY_RUN: ${{ github.event.inputs.autoTag == 'false' }}
43-
WITH_V: true
44-
DEFAULT_BUMP: patch
45-
VERBOSE: true
46-
BRANCH_HISTORY: full
37+
uses: mathieudutour/github-tag-action@v6.1
38+
with:
39+
github_token: ${{ secrets.GITHUB_TOKEN }}
40+
dry_run: ${{ github.event.inputs.autoTag == 'false' }}
41+
custom_release_rules: |
42+
"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"
4743
4844
- name: Update manifest.json
4945
if: github.event.inputs.autoTag == 'true'

0 commit comments

Comments
 (0)