mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-04 23:23:45 +08:00
feat: Add independent alpha update channel
This commit is contained in:
parent
26ca4670ad
commit
d75f36066a
28
.github/workflows/alpha.yml
vendored
28
.github/workflows/alpha.yml
vendored
@ -73,11 +73,31 @@ jobs:
|
|||||||
- name: Prepare Updater Files
|
- name: Prepare Updater Files
|
||||||
run: |
|
run: |
|
||||||
mkdir -p updater
|
mkdir -p updater
|
||||||
|
# 创建 alpha 更新通道的更新文件
|
||||||
echo '{
|
echo '{
|
||||||
"version": "'$(cat package.json | jq -r .version)'",
|
"version": "'$(cat package.json | jq -r .version)'",
|
||||||
"notes": "More new features are now supported.",
|
"notes": "Alpha channel update - More new features are now supported.",
|
||||||
"pub_date": "'$(date -u +"%Y-%m-%dT%H:%M:%SZ")'"
|
"pub_date": "'$(date -u +"%Y-%m-%dT%H:%M:%SZ")'",
|
||||||
}' > updater/update.json
|
"platforms": {
|
||||||
|
"darwin-x86_64": {
|
||||||
|
"signature": "",
|
||||||
|
"url": "https://github.com/clash-verge-rev/clash-verge-rev/releases/download/alpha/Clash.Verge_${VERSION}_x64.dmg"
|
||||||
|
},
|
||||||
|
"darwin-aarch64": {
|
||||||
|
"signature": "",
|
||||||
|
"url": "https://github.com/clash-verge-rev/clash-verge-rev/releases/download/alpha/Clash.Verge_${VERSION}_aarch64.dmg"
|
||||||
|
},
|
||||||
|
"linux-x86_64": {
|
||||||
|
"signature": "",
|
||||||
|
"url": "https://github.com/clash-verge-rev/clash-verge-rev/releases/download/alpha/clash-verge_${VERSION}_amd64.deb"
|
||||||
|
},
|
||||||
|
"windows-x86_64": {
|
||||||
|
"signature": "",
|
||||||
|
"url": "https://github.com/clash-verge-rev/clash-verge-rev/releases/download/alpha/Clash.Verge_${VERSION}_x64-setup.exe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}' > updater/update-alpha.json
|
||||||
|
cp updater/update-alpha.json updater/update-alpha-proxy.json
|
||||||
|
|
||||||
- name: Tauri build
|
- name: Tauri build
|
||||||
uses: tauri-apps/tauri-action@v0
|
uses: tauri-apps/tauri-action@v0
|
||||||
@ -227,6 +247,8 @@ jobs:
|
|||||||
files: |
|
files: |
|
||||||
src-tauri/target/${{ matrix.target }}/release/bundle/deb/*.deb
|
src-tauri/target/${{ matrix.target }}/release/bundle/deb/*.deb
|
||||||
src-tauri/target/${{ matrix.target }}/release/bundle/rpm/*.rpm
|
src-tauri/target/${{ matrix.target }}/release/bundle/rpm/*.rpm
|
||||||
|
updater/update-alpha.json
|
||||||
|
updater/update-alpha-proxy.json
|
||||||
|
|
||||||
alpha-for-fixed-webview2:
|
alpha-for-fixed-webview2:
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -23,7 +23,9 @@
|
|||||||
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEQyOEMyRjBCQkVGOUJEREYKUldUZnZmbStDeStNMHU5Mmo1N24xQXZwSVRYbXA2NUpzZE5oVzlqeS9Bc0t6RVV4MmtwVjBZaHgK",
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEQyOEMyRjBCQkVGOUJEREYKUldUZnZmbStDeStNMHU5Mmo1N24xQXZwSVRYbXA2NUpzZE5oVzlqeS9Bc0t6RVV4MmtwVjBZaHgK",
|
||||||
"endpoints": [
|
"endpoints": [
|
||||||
"https://download.clashverge.dev/https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update-proxy.json",
|
"https://download.clashverge.dev/https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update-proxy.json",
|
||||||
"https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update.json"
|
"https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update.json",
|
||||||
|
"https://download.clashverge.dev/https://github.com/clash-verge-rev/clash-verge-rev/releases/download/alpha/update-alpha-proxy.json",
|
||||||
|
"https://github.com/clash-verge-rev/clash-verge-rev/releases/download/alpha/update-alpha.json"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user