diff --git a/action.yml b/action.yml index 618a558..1e6b635 100644 --- a/action.yml +++ b/action.yml @@ -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 diff --git a/dist/index.js b/dist/index.js index c238a28..4e6febe 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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') } diff --git a/src/index.js b/src/index.js index 480b6f3..9dfa485 100644 --- a/src/index.js +++ b/src/index.js @@ -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') }