Skip to content

Commit

Permalink
chore: npm bump actually use git ffff!
Browse files Browse the repository at this point in the history
  • Loading branch information
hUwUtao authored Feb 6, 2024
1 parent a687850 commit f691fc5
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,21 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Bump version
run: npm version patch -m "Bump version to %s"
- name: 'Automated Version Bump'
uses: 'florian-h05/gh-action-advanced-bump-version@main'
id: version-bump
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
major-wording: 'major,Major,breaking,Breaking'
minor-wording: 'minor,Minor,add,Add,adds,Adds,new,New'
patch-wording: 'fix,Fix,fixes,Fixes,patch,Patch'
rc-wording: 'rc,pre'
hours-to-go-back: 24
skip-if-no-commits: 'true'
tag-prefix: 'v'
commit-message: 'bump: i18n->{{version}} [skip ci]'
bump-policy: 'last-commit'

- name: Push changes
uses: ad-m/github-push-action@master
Expand Down

0 comments on commit f691fc5

Please sign in to comment.