GitTools / GitVersion

From git log to SemVer in no time
https://gitversion.net/docs/
MIT License
2.86k stars 653 forks source link

[ISSUE]: Azure Devops GitVersion task upgrade internal gitversion.exe to 5.12.0 #4171

Closed ericnewton76 closed 2 months ago

ericnewton76 commented 2 months ago

Prerequisites

GitVersion package

AzureDevops task

GitVersion version

5.12.0

Operating system

Windows

What are you seeing?

Please do a final upgrade of the gitversion.exe contained within AzureDevopsTask of GitVersion to version 5.12.0

I have a bunch of "Classic Pipelines" that cant apparently utilize the newer "Azure GitTools Extensions" within Classic Pipelines (the non-yml pipelines)

What is expected?

AzureDevopsTask internal gitversion.exe upgraded to 5.12.0

Steps to Reproduce

Start a Classic pipeline, add a "GitVersion" task from marketplace add /version to the commandline ran run the pipeline observe GitVersion 5.0.1 reported.

RepositoryFixture Test

No response

Output log or link to your CI build (if appropriate).

No response

ericnewton76 commented 2 months ago

Not having the internal gitversion.exe at version 5.12.0 causes me to have to run a hosted agent with gitversion.exe 5.12.0 available in the filesystem instead of being able to use a generic Azure VM hosted agent.

arturcic commented 2 months ago

Please use this extension instead https://marketplace.visualstudio.com/items?itemName=gittools.gittools, as this is the only one we support. And here are the docs https://github.com/GitTools/actions/blob/main/docs/examples/azure/gitversion/index.md

ericnewton76 commented 2 months ago

Strangely enough, yesterday I looked again at the task list filtered on "gitversion" and the newer extension based tasks showed up. In times prior, after having added the extension into our Devops workspace, it just wasnt showing up. I guessed it was because they weren't "available" within Classic Pipelines.

Trying to get them integrated into the build now.

Can probably close this issue