Skip to content

Commit

Permalink
Bump the dotnet version after a script update (#707)
Browse files Browse the repository at this point in the history
* Bump the dotnet version after a script update

* Forgot to add file

* Keep 4 spaces indentation
  • Loading branch information
sliekens authored Sep 28, 2023
1 parent 0599c63 commit 803ec6e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/update-dotnet-install-script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@ jobs:
git add src/dotnet/scripts/vendor/dotnet-install.sh
git commit -m 'Automated dotnet-install script update' || export NO_UPDATES=true
# Push
# Bump version and push
if [ "$NO_UPDATES" != "true" ] ; then
echo "$(jq --indent 4 '.version = (.version | split(".") | map(tonumber) | .[2] += 1 | join("."))' src/dotnet/devcontainer-feature.json)" > src/dotnet/devcontainer-feature.json
git add src/dotnet/devcontainer-feature.json
git commit -m 'Bump version'
git push origin "$branch"
gh api \
--method POST \
Expand Down

0 comments on commit 803ec6e

Please sign in to comment.