nebula-release-plugin
nebula-release-plugin copied to clipboard
`candidate` tasks not failing if tag already exists
Hello, today happened that two builds has been triggered simultaneously. Unfortunately the build for older commit won the battle and successfully pushed a tag the second one
build for older commit:
:release (Thread[Task worker for ':',5,main]) started.
:release
Task ':release' is not up-to-date because:
Task has not declared any outputs.
Tagging repository as v1.0.1-rc.1
Pushing changes in [v1.0.1-rc.1] to origin
The following authentication options are allowed (though they may not be available): [SSHAGENT, HARDCODED, PAGEANT, INTERACTIVE]
ssh-agent available
using agent proxy
:release (Thread[Task worker for ':',5,main]) completed. Took 4.259 secs.
build for newer commit:
:release (Thread[Task worker for ':',5,main]) started.
:release
Task ':release' is not up-to-date because:
Task has not declared any outputs.
Tagging repository as v1.0.1-rc.1
Pushing changes in [v1.0.1-rc.1] to origin
The following authentication options are allowed (though they may not be available): [HARDCODED, PAGEANT, INTERACTIVE, SSHAGENT]
ssh-agent available
using agent proxy
:release (Thread[Task worker for ':',5,main]) completed. Took 1.134 secs.
Is there any way how to fail a release
task if the tag already exists?