Labeling Sources after Build
When enabled in the build source configuration on MyGet, source code can be labeled with the build number. This can be done for successful builds only (recommended) as well as for failed builds.
The label originating from MyGet will always be named in the form vX.Y.Z
, vX.Y.Z.P
or v.X.Y.Z-pre
. The description for the label will always be the label name (the version number), followed by "- MyGet Build Services". This labeling scheme is compatible with GitHub releases and can link a given NuGet package version number to a GitHub release.
An important note: If you enable build labeling on build configurations that have been created before 2013-09-11, you will have to specify credentials to connect to the remote repository, or remove and add the build source again. Builds with labeling enabled will fail if this is neglected.
Let us know what you think about this feature through the comments below or in our forums!
Happy packaging!