Skip to content

Commit

Permalink
fixup! Update the download data via a GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dscho committed Oct 7, 2023
1 parent beb3e0e commit 5d8422d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update-download-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
exit 0
what="$(git diff hugo.yml |
sed -n 's/^+ *filename: Git-\([.0-9]*\)-.*\.exe$/Git for Windows v\1/p')"
sed -n '/^+ *filename: Git-\([.0-9]*\)-.*\.exe$/{s/.* Git-\([.0-9]*\)-.*/Git for Windows v\1/p;q}')"
mac="$(git diff hugo.yml |
sed -n 's/^+ *filename: git-\([.0-9]*\)-.*\.dmg$/Git for macOS v\1/p')"
test -z "$mac" || what="$what${what:+, }$mac"
Expand Down

0 comments on commit 5d8422d

Please sign in to comment.