-
Notifications
You must be signed in to change notification settings - Fork 226
Description
Describe the bug
In PRs we use prerelease builds. We get Github to automatically update versions in the files and commit these before triggering a prerelease (because lets face it, incrementing release numbers is irritating and prereleases could be derived from branchnames etc etc).
Since 1.19.0, the creation of releases stopped working.
To Reproduce
Create a Github action that uses this plugin to create a prerelease, but immediately prior to calling the plugin adds a commit to the branch.
Call the plugin with the following parameters:
token: ...
tag: 1.19.0-mysuperspecialtag.1
commit: my-super-special-branch-name
prerelease: true
Expected behavior
A prerelease to be created in Github, as per behaviour 1.18.0
Actual behaviour
Action succeeds, no release is created
Additional context
The input parameters unroll to the following with defaults (this was copied and pasted from the output, I redacted tag + commit):
Run ncipollo/release-action@v1
with:
token: ***
tag: 1.108.0-something.1
commit: branchName
prerelease: true
generateReleaseNotes: false
immutableCreate: true
makeLatest: legacy
omitBody: false
omitBodyDuringUpdate: false
omitDraftDuringUpdate: false
omitName: false
omitNameDuringUpdate: false
omitPrereleaseDuringUpdate: false
removeArtifacts: false
replacesArtifacts: true
skipIfReleaseExists: false
updateOnlyUnreleased: false