Skip to content

Commit

Permalink
Fix auto tap update
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelSchneid3r authored Dec 2, 2024
1 parent 779c25f commit ee04794
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ee04794

Please sign in to comment.