diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 92c6439..227ccac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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