mirror of
https://github.com/apricote/releaser-pleaser.git
synced 2026-01-13 13:21:00 +00:00
feat: add updater for package.json (#213)
This commit is contained in:
parent
6237c9b666
commit
1e9e0aa5d9
14 changed files with 174 additions and 44 deletions
|
|
@ -17,6 +17,10 @@ inputs:
|
|||
description: 'List of files that are scanned for version references.'
|
||||
required: false
|
||||
default: ""
|
||||
update-package-json:
|
||||
description: 'Update version field in package.json file.'
|
||||
required: false
|
||||
default: "false"
|
||||
# Remember to update docs/reference/github-action.md
|
||||
outputs: {}
|
||||
runs:
|
||||
|
|
@ -27,6 +31,7 @@ runs:
|
|||
- --forge=github
|
||||
- --branch=${{ inputs.branch }}
|
||||
- --extra-files="${{ inputs.extra-files }}"
|
||||
- ${{ inputs.update-package-json == 'true' && '--update-package-json' || '' }}
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ inputs.token }}"
|
||||
GITHUB_USER: "oauth2"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue