Merge pull request #56 from bootsie123/master

Update documentation
This commit is contained in:
Phil 2020-10-24 21:45:08 +02:00 committed by GitHub
commit f15eec7d08
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'
@ -65,5 +73,6 @@ Make sure you use the `actions/checkout@v2` action!
- name: 'Automated Version Bump' - name: 'Automated Version Bump'
uses: 'phips28/gh-action-bump-version@master' uses: 'phips28/gh-action-bump-version@master'
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PACKAGEJSON_DIR: 'frontend' PACKAGEJSON_DIR: 'frontend'
``` ```