Skip to content

Commit

Permalink
update dotnet syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveSkender committed Dec 30, 2024
1 parent 69bf207 commit 9065944
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 9065944

Please sign in to comment.