mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
[fix] fix version number replace for pages
This commit is contained in:
8
.github/workflows/update-pages.yaml
vendored
8
.github/workflows/update-pages.yaml
vendored
@@ -30,10 +30,10 @@ jobs:
|
||||
- name: Update download links
|
||||
run: |
|
||||
cd pages
|
||||
sed -i "s/crossdesk-win-x86_64-latest.exe/crossdesk-win-x86_64-${VERSION_NUM}.exe/g" index.html
|
||||
sed -i "s/crossdesk-macos-x86_64-latest.pkg/crossdesk-macos-x86_64-${VERSION_NUM}.pkg/g" index.html
|
||||
sed -i "s/crossdesk-macos-arm64-latest.pkg/crossdesk-macos-arm64-${VERSION_NUM}.pkg/g" index.html
|
||||
sed -i "s/crossdesk-linux-x86_64-latest.deb/crossdesk-linux-x86_64-${VERSION_NUM}.deb/g" index.html
|
||||
sed -E -i "s/crossdesk-win-x86_64-[0-9]+\.[0-9]+\.[0-9]+\.exe/crossdesk-win-x86_64-${VERSION_NUM}.exe/g" index.html
|
||||
sed -E -i "s/crossdesk-macos-x86_64-[0-9]+\.[0-9]+\.[0-9]+\.pkg/crossdesk-macos-x86_64-${VERSION_NUM}.pkg/g" index.html
|
||||
sed -E -i "s/crossdesk-macos-arm64-[0-9]+\.[0-9]+\.[0-9]+\.pkg/crossdesk-macos-arm64-${VERSION_NUM}.pkg/g" index.html
|
||||
sed -E -i "s/crossdesk-linux-x86_64-[0-9]+\.[0-9]+\.[0-9]+\.deb/crossdesk-linux-x86_64-${VERSION_NUM}.deb/g" index.html
|
||||
|
||||
- name: Commit & Push changes
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user