Skip to content

Commit

Permalink
fix: update && add action
Browse files Browse the repository at this point in the history
  • Loading branch information
xsf0105 committed Jun 8, 2023
1 parent bf60981 commit cf713bc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ jobs:
node-version: 12
registry-url: https://registry.npmjs.org

# 根据commit关键词触发publish的版本 https://github.com/phips28/gh-action-bump-version#workflow
# If the string "BREAKING CHANGE", "major" or the Attention pattern refactor!: drop support for Node 6 is found anywhere in any of the commit messages or descriptions the major version will be incremented.
# If a commit message begins with the string "feat" or includes "minor" then the minor version will be increased. This works for most common commit metadata for feature additions: "feat: new API" and "feature: new API".
# If a commit message contains the word "pre-alpha" or "pre-beta" or "pre-rc" then the pre-release version will be increased (for example specifying pre-alpha: 1.6.0-alpha.1 -> 1.6.0-alpha.2 or, specifying pre-beta: 1.6.0-alpha.1 -> 1.6.0-beta.0)
# All other changes will increment the patch version.
- name: 'Automated Version Bump'
uses: 'phips28/gh-action-bump-version@master'
env:
Expand Down

0 comments on commit cf713bc

Please sign in to comment.