Open gep13 opened 5 months ago
When attempting to run build.bat --target="publish-github-release" while on a Support Branch, the task can't be executed.
build.bat --target="publish-github-release"
This is due to this condition:
https://github.com/chocolatey/Chocolatey.Cake.Recipe/blob/8efe5c51e21293bf08545943f75370e3316fab92/Chocolatey.Cake.Recipe/Content/gitreleasemanager.cake#L87
Which doesn't account for running on a Support Branch, only while on Master, Release, and HotFix.
The Task should be reachable, and execute correctly, since deploying a release from a Support Branch is something that we do, and needs to work.
N/A
There is a related issue about renaming this task.
Checklist
What You Are Seeing?
When attempting to run
build.bat --target="publish-github-release"
while on a Support Branch, the task can't be executed.This is due to this condition:
https://github.com/chocolatey/Chocolatey.Cake.Recipe/blob/8efe5c51e21293bf08545943f75370e3316fab92/Chocolatey.Cake.Recipe/Content/gitreleasemanager.cake#L87
Which doesn't account for running on a Support Branch, only while on Master, Release, and HotFix.
What is Expected?
The Task should be reachable, and execute correctly, since deploying a release from a Support Branch is something that we do, and needs to work.
How Did You Get This To Happen?
build.bat --target="publish-github-release"
from a support branchSystem Details
Installed Packages
Output Log
Additional Context
There is a related issue about renaming this task.