Skip to content

Commit

Permalink
Chore: GitHub build
Browse files Browse the repository at this point in the history
  • Loading branch information
yaling888 committed Jul 24, 2022
1 parent feee5f8 commit 0e71a59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
cp Country.mmdb.zip geosite.dat.zip dashboard.zip bin/arm32v7/resources
version=$(git describe --tags --always)
core_version=$(curl -sSL https://github.com/yaling888/clash/releases/latest | grep -o -E "windows-amd64-v\d{1,3}\.\d{1,3}\.\d{1,6}" | head -1 | cut -d'-' -f3)
core_version=$(curl -sSL https://github.com/yaling888/clash/releases/latest | grep -oE 'windows-amd64-v[0-9]{1,}.[0-9]{1,}(.[0-9]{1,})?' | head -1 | cut -d'-' -f3)
curl -L -o bin/amd64/core/clash-plus-pro-windows-amd64-$core_version.zip https://github.com/yaling888/clash/releases/download/$core_version/clash-plus-pro-windows-amd64-$core_version.zip
curl -L -o bin/amd64/core/clash-plus-pro-windows-amd64-v3-$core_version.zip https://github.com/yaling888/clash/releases/download/$core_version/clash-plus-pro-windows-amd64-v3-$core_version.zip
Expand Down

0 comments on commit 0e71a59

Please sign in to comment.