You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
release: Optional. Default true. When set to true, put produces release and check detects releases. If false, put and check will ignore releases. Note that releases must have semver compliant tags to be detected.
I was expecting only the tag to be created.
(Note "release: false" in the github-release resource.)
But it creates both tag and a release, even though release is set as false. Or, am I not understanding the explanation correctly?
The text was updated successfully, but these errors were encountered:
arutsudar
changed the title
release: false in Source configuration doesn't have any effect
"release: false" in Source configuration doesn't have any effect
Mar 16, 2020
The behaviour for this is a bit odd for put, and the documentation could definitely use some clarification. I think the confusion is in the terminology used: release in the source config actually refers to "final" releases (i.e. not pre-releases). So, setting release: false makes it so that:
Checks don't emit versions for final releases (but still generate versions for pre-releases if pre_release: true)
Puts will create pre-releases if pre_release: true (otherwise, release: false has no effect)
In Readme, it says,
When trying this below concourse deployment yaml,
I was expecting only the tag to be created.
(Note "release: false" in the github-release resource.)
But it creates both tag and a release, even though release is set as false. Or, am I not understanding the explanation correctly?
The text was updated successfully, but these errors were encountered: