chocolatey / Chocolatey.Cake.Recipe

A set of convention based Cake scripts for building Chocolatey projects
Apache License 2.0
5 stars 9 forks source link

Prerelease version calculated should not start with a digit #74

Closed corbob closed 2 years ago

corbob commented 2 years ago

What You Are Seeing?

Created a branch of ChocolateyGUI called 919-global-confirm. Attempted to build with Chocolatey.Cake.Recipe 0.16.0. This resulted in an error that the version 1.1.0-919globalc was not valid.

What is Expected?

It should build successfully.

How Did You Get This To Happen? (Steps to Reproduce)

In the ChocolateyGUI repository:

  1. git checkout -b 919-global-confirm
  2. ./build.bat -target Print-CI-Provider-Environment-Variables (This is to run faster and get the version number)
  3. See the output: Building version 1.1.0-919globalc of Chocolatey GUI (Release, Print-CI-Provider-Environment-Variables) using version 0.38.5.0 of Cake, , and version 0.16.0 of Chocolatey.Cake.Recipe. (IsTagged: False)

Chocolatey does not support prerelease versions that start with a digit.

System Details

Output Log

Not applicable