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

(#74) Update prerelease tag if starts with digit #75

Closed corbob closed 1 year ago

corbob commented 1 year ago

Description Of Changes

Update the prerelease tag to start with an a if it starts with a digit.

Motivation and Context

Chocolatey doesn't allow prerelease tags that start with a digit.

Testing

  1. Ran ./build.bat
  2. Copied generated nupkg contents into ChocolateyGUI project
  3. Ran ./build.bat -Target Print-CI-Provider-Environment-Variables to verify that version number prints properly.

Change Types Made

Related Issue

Fixes #74

Change Checklist

gep13 commented 1 year ago

For now, the failing AppVeyor build is "expected", as we have removed AppVeyor from the build process. We need to get this updated to use GitHub Actions as the OSS build system so that we have consistency with the other OSS projects.

gep13 commented 1 year ago

@corbob thank you for getting this added!