diff --git a/.github/workflows/update-pages.yaml b/.github/workflows/update-pages.yaml index 30699b5..7289449 100644 --- a/.github/workflows/update-pages.yaml +++ b/.github/workflows/update-pages.yaml @@ -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: |