Skip to content

Commit

Permalink
fix copilot mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
zjeffer committed May 18, 2024
1 parent 2f43e6c commit f30552c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ jobs:
echo "Failed to get GIT_COMMIT_HASH from /usr/include/hyprland/src/version.h"
exit 1
fi
commit=$(awk -v hash="$hash" '/commit_pins/ { getline; while ($0 !~ /]/) { if ($0 ~ hash) { getline; print $2; exit } getline } }' /usr/include/hyprland/hyprpm.toml)
commit=$(awk -v hash="$hash" '/commit_pins/ { getline; while ($0 !~ /]/) { if ($0 ~ hash) { getline; print $2; exit } getline } }' hyprpm.toml)
if [ -z "$commit" ]; then
echo "Failed to get pinned commit from /usr/include/hyprland/hyprpm.toml"
echo "Failed to get pinned commit from hyprpm.toml"
exit 1
fi
echo "PINNED_COMMIT=$commit" >> $GITHUB_ENV
Expand Down

0 comments on commit f30552c

Please sign in to comment.