diff --git a/.github/workflows/deploy-package.yml b/.github/workflows/deploy-package.yml index c45300a58..eeae0af73 100644 --- a/.github/workflows/deploy-package.yml +++ b/.github/workflows/deploy-package.yml @@ -59,10 +59,10 @@ jobs: run: dotnet tool install --global GitVersion.Tool --version 6.0.5 - name: Show GitVersion config - run: dotnet-gitversion -showconfig -config src/gitversion.yml + run: dotnet gitversion -showconfig -config src/gitversion.yml - name: Show GitVersion config (with Json output) - run: dotnet-gitversion -output json -l console -config src/gitversion.yml + run: dotnet gitversion -output json -l console -config src/gitversion.yml - name: Validate preview settings run: | @@ -131,7 +131,7 @@ jobs: id: gitversion run: | # Execute GitVersion and capture JSON output - gitversion -output json -config src/gitversion.yml > gitversion.json + dotnet gitversion -output json -config src/gitversion.yml > gitversion.json # Extract desired outputs version=$(jq -r '.SemVer' gitversion.json) prerelease_tag=$(jq -r '.PreReleaseTag' gitversion.json)