From f30552cb29ecf92247de696fe8f34edf8d5b601e Mon Sep 17 00:00:00 2001 From: zjeffer <4633209+zjeffer@users.noreply.github.com> Date: Sat, 18 May 2024 19:12:25 +0200 Subject: [PATCH] fix copilot mistake --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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