Skip to content

Commit

Permalink
Correcting version update
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Mar 19, 2024
1 parent bae8ba5 commit b207db8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
run: |
echo "Should update to ${{steps.latest-dotnet-version.outputs.LATEST_RELEASE_VERSION}}"
mv "global.json" "global.json.tmp";
jq --arg v "$NEW_DOTNET_VERSION" '.version = $v' < "global.json.tmp" > "global.json";
jq --arg v "$NEW_DOTNET_VERSION" '.sdk.version = $v' < "global.json.tmp" > "global.json";
[ -f "global.json.tmp" ] && rm -f "global.json.tmp"
cat "global.json"
env:
Expand Down

0 comments on commit b207db8

Please sign in to comment.