Cake.Recipe prerelease deployment fails on rebased branch #3200
-
ENVIRONMENT PROBLEM This is a rebased WORKAROUND QUESTION POSSIBLE CHANGE REQUEST IDEAS If one of my requests makes sense, I would be interested in implementing it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is unfortunately a known problem, and there is no way to configure gitversion in cake.recipe (other than the yaml configuration) without overriding the whole setup (see the documentation here: https://cake-contrib.github.io/Cake.Recipe/docs/extending/override-generating-version).
Not exactly the same, but in an upcoming version of Cake.Recipe this is semi-added.
Cake.Recipe only pushes packages when the necessary environment variables are available, unfortunately due to the pull request coming from a local branch they also are.
TBH, I am not sure if this would make sense. Only in some cases. |
Beta Was this translation helpful? Give feedback.
This is unfortunately a known problem, and there is no way to configure gitversion in cake.recipe (other than the yaml configuration) without overriding the whole setup (see the documentation here: https://cake-contrib.github.io/Cake.Recipe/docs/extending/override-generating-version).
Not exactly the same, but in an upcoming version of Cake.Recipe this is semi-added.
A recent pull request added the ability to set a new variable called
SkipDuplicatePackages
to the ToolSettings class that allows builds to continue even if a push of NuGet packages fail due to them already existing upstream.