From ee0479472f981a3b1aac85bab33d3a47ff615936 Mon Sep 17 00:00:00 2001 From: Manuel Schneider Date: Mon, 2 Dec 2024 13:38:22 +0100 Subject: [PATCH] Fix auto tap update --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 762483c4..f0dcd09b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -204,8 +204,8 @@ jobs: - name: Update cask run: | - sha_arm=$(cut -f 1 -d " " Albert-v0.26.8-arm64.dmg.sha256) - sha_intel=$(cut -f 1 -d " " Albert-v0.26.8-x86_64.dmg.sha256) + sha_arm=$(cut -f 1 -d " " Albert-${{ github.ref_name }}-arm64.dmg.sha256) + sha_intel=$(cut -f 1 -d " " Albert-${{ github.ref_name }}-x86_64.dmg.sha256) sed -i '.bak' "s/version .*$/version \"${{ github.ref_name }}\"/; s/^ sha256.*$/ sha256 arm: \"${sha_arm}\", intel: \"${sha_intel}\"/" albert.rb git config --local user.email "action@github.com" git config --local user.name "GitHub Action"