Skip to content

Commit 221aee6

Browse files
committed
chore(ci): auto discover git ref of librime artifacts
1 parent a30a6e9 commit 221aee6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action-install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -e
44

55
rime_version=latest
6-
rime_git_hash=24f0f7b
6+
rime_git_hash=`curl https://api.github.com/repos/rime/librime/releases/tags/latest | jq '.assets | .[] | select(.name | contains("macOS")) | .name' | jq -s '.[0]' -r | cut -d- -f2`
77
sparkle_version=2.6.2
88

99
rime_archive="rime-${rime_git_hash}-macOS-universal.tar.bz2"

0 commit comments

Comments
 (0)