You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following range of git metadata is typically available via the GitVersion tool used by the build (obtained by running GitVersion.exe in the repository root):
Change that line in the build script to use a more specific metadata like InformationalVersion (if not too long for AppVeyor)
The two builds of the PR do have different SHAs - one for the head-of-the-branch commit, one for the merge-commit; confirmed by the event metadata in AppVeyor. So this should provide distinct build numbers.
A PR typically builds twice - for the branch and then the PR. The second build often fails with:
The cake build script intends to set the build number from the git metadata
FullSemVer
and clearly this repeats for the second build.The following range of git metadata is typically available via the GitVersion tool used by the build (obtained by running GitVersion.exe in the repository root):
Suggested resolution
Change that line in the build script to use a more specific metadata like
InformationalVersion
(if not too long for AppVeyor)However, when we deploy releases directly out of AppVeyor, that "Appveyor build number" may also be tagged to the commit and be used as the release number (think that's the case). And
InformationalVersion
seems overkill for releases ...So we possibly want something like:
(A suggestion ... open to anyone refining this!)
The text was updated successfully, but these errors were encountered: