Skip to content

Commit 803ec6e

Browse files
authored
Bump the dotnet version after a script update (#707)
* Bump the dotnet version after a script update * Forgot to add file * Keep 4 spaces indentation
1 parent 0599c63 commit 803ec6e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/update-dotnet-install-script.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,11 @@ jobs:
3535
git add src/dotnet/scripts/vendor/dotnet-install.sh
3636
git commit -m 'Automated dotnet-install script update' || export NO_UPDATES=true
3737
38-
# Push
38+
# Bump version and push
3939
if [ "$NO_UPDATES" != "true" ] ; then
40+
echo "$(jq --indent 4 '.version = (.version | split(".") | map(tonumber) | .[2] += 1 | join("."))' src/dotnet/devcontainer-feature.json)" > src/dotnet/devcontainer-feature.json
41+
git add src/dotnet/devcontainer-feature.json
42+
git commit -m 'Bump version'
4043
git push origin "$branch"
4144
gh api \
4245
--method POST \

0 commit comments

Comments
 (0)