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
Chocolatey.Cake.Recipe has the concept of pushing to:
pre-release source
release source
Since these sources can actually be the same destination, we don't want to push the same package version twice, as this will cause an error.
As such, since the release source is only intended to be used when we are running a tagged build, make sure to not push to the pre-release source when it is a tagged build. i.e. the sources should be mutually exclusive.
The text was updated successfully, but these errors were encountered:
gep13
added
the
Bug
Issues where something has happened which was not expected or intended
label
Mar 17, 2022
Make the pushing of pre-release and release packages mutually
exclusive, to prevent the same package being pushed to the same feed
(when they are configured to be the same) thus causing an error.
In addition, add a criteria to both the creation of Chocolatey and
NuGet packages to allow preventing of even attempting to run these
tasks when switched off at the highest level. This is similar to what
is done with the ShouldRunDotNetCorePack parameter.
Chocolatey.Cake.Recipe has the concept of pushing to:
Since these sources can actually be the same destination, we don't want to push the same package version twice, as this will cause an error.
As such, since the release source is only intended to be used when we are running a tagged build, make sure to not push to the pre-release source when it is a tagged build. i.e. the sources should be mutually exclusive.
The text was updated successfully, but these errors were encountered: