Skip to content

Commit

Permalink
feat: add ghr flag
Browse files Browse the repository at this point in the history
  • Loading branch information
christophwitzko committed Jul 8, 2020
1 parent f458b46 commit 85d5988
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ inputs:
changelog-file:
description: 'creates a changelog file'
required: false
ghr:
description: 'create a .ghr file with the parameters for tcnksm/ghr'
required: false
update-file:
description: 'updates the version of a certain file'
required: false
Expand Down
3 changes: 3 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5073,6 +5073,9 @@ async function main () {
args.push('-changelog')
args.push(core.getInput('changelog-file'))
}
if (core.getInput('ghr')) {
args.push('-ghr')
}
if (core.getInput('allow-initial-development-versions')) {
args.push('-allow-initial-development-versions')
}
Expand Down
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ async function main () {
args.push('-changelog')
args.push(core.getInput('changelog-file'))
}
if (core.getInput('ghr')) {
args.push('-ghr')
}
if (core.getInput('allow-initial-development-versions')) {
args.push('-allow-initial-development-versions')
}
Expand Down

0 comments on commit 85d5988

Please sign in to comment.