Open jchesterpivotal opened 7 years ago
Hi there!
We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.
The current status is as follows:
pre_release: true
is ineffective by itselfThis comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.
@vito @chendrix is this the expected behavior?
Looking at the docs it seems like this is the expected behaviour, it's just really poorly worded.
It says under pre_release
:
If release and pre_release are set to true, put produces release and check detects prereleases and releases.
and then under release
it states that the default is release: true
i.e. the default behaviour of setting pre_release
without setting release
is for put to create a release
. That seems like a gotcha to me.
Running Concourse 2.6.0.
What We Expect
If we have a github-release-resource with
pre_release: true
, we expect allput
operations to create a pre-release on Github.We expect that no other configuration is necessary.
What We Observe
When we perform a
put
, we just get a standard release, not a pre-release.However, when we add
release: false
as well aspre_release: true
, we observe thatput
gives us a pre-release.