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

Remove usage of BuildVersion Setup Context #27

Closed gep13 closed 2 years ago

gep13 commented 2 years ago

When the GitReleaseManager tasks were copied over from the Cake.Recipe project, the BuildVersion Setup Context was left in place however, there was no Setup Task created to define what this is. As a result, when attempting to run these tasks, they failed, due to the context not being configured.

This didn't cause a problem locally, since the BuildVersion class is defined, but the tasks were attempted to be executed but skipped, so verification of the setup context existing wasn't done.

It wasn't until the tasks were run on the TeamCity server, where these tasks are exercised, that this problem presented itself 😢

choco-bot commented 2 years ago

:tada: This issue has been resolved in version 0.3.1 :tada:

The release is available on:

Your GitReleaseManager bot :package::rocket: