Update README.md

This commit is contained in:
bootsie123 2020-10-24 13:02:53 -04:00 committed by GitHub
parent 670977ccf7
commit 9b99ef1eda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -28,6 +28,8 @@ Make sure you use the `actions/checkout@v2` action!
```yaml ```yaml
- name: 'Automated Version Bump' - name: 'Automated Version Bump'
uses: 'phips28/gh-action-bump-version@master' uses: 'phips28/gh-action-bump-version@master'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
tag-prefix: '' tag-prefix: ''
``` ```
@ -36,6 +38,8 @@ Make sure you use the `actions/checkout@v2` action!
```yaml ```yaml
- name: 'Automated Version Bump' - name: 'Automated Version Bump'
uses: 'phips28/gh-action-bump-version@master' uses: 'phips28/gh-action-bump-version@master'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
skip-tag: 'true' skip-tag: 'true'
``` ```
@ -44,6 +48,8 @@ Make sure you use the `actions/checkout@v2` action!
```yaml ```yaml
- name: 'Automated Version Bump' - name: 'Automated Version Bump'
uses: 'phips28/gh-action-bump-version@master' uses: 'phips28/gh-action-bump-version@master'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
default: prerelease default: prerelease
``` ```
@ -52,6 +58,8 @@ Make sure you use the `actions/checkout@v2` action!
```yaml ```yaml
- name: 'Automated Version Bump' - name: 'Automated Version Bump'
uses: 'phips28/gh-action-bump-version@master' uses: 'phips28/gh-action-bump-version@master'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
minor-wording: 'add,Adds,new' minor-wording: 'add,Adds,new'
major-wording: 'MAJOR,cut-major' major-wording: 'MAJOR,cut-major'
@ -66,4 +74,5 @@ Make sure you use the `actions/checkout@v2` action!
uses: 'phips28/gh-action-bump-version@master' uses: 'phips28/gh-action-bump-version@master'
env: env:
PACKAGEJSON_DIR: 'frontend' PACKAGEJSON_DIR: 'frontend'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
``` ```