The only downloader you need. 下载器的集大成者。
TypeScript asyncasynciobittorentbtcross-platformdownload-managerdownloaderfluent-designftphttp3magnetpyqtpyside6pythonqtquicreactsoftwarestreaming
fix(ci): 版本号含 - 时自动标记 pre-release
XiaoYouChR01ef8ef464fc
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex 4735438d..daf8fc25 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -86,7 +86,11 @@ jobs:if [ -n "$PREV_TAG" ]; thenBODY="**Full Changelog**: https://github.com/${{ github.repository }}/compare/${PREV_TAG}...${TAG}"fi- gh release create "$TAG" --title "$TAG" --notes "$BODY" --latest+ PRERELEASE_FLAG=""+ if [[ "$VERSION" == *-* ]]; then+ PRERELEASE_FLAG="--prerelease"+ fi+ gh release create "$TAG" --title "$TAG" --notes "$BODY" --latest $PRERELEASE_FLAGfibuild-windows:@@ -133,12 +137,12 @@ jobs:Copy-Item hdiffpatch/${hdiffArch}/hpatchz.exe dist/Ghost-Downloader-3.dist/- name: Prepare For Sign- if: ${{ github.event.inputs.create_release == 'true' || github.event.inputs.sign_artifact == 'true' }}+ if: ${{ github.event.inputs.sign_artifact == 'true' }}run: |mv dist/Ghost-Downloader-3.dist dist/Ghost-Downloader-3-Unsigned.dist- name: upload-unsigned-artifact- if: ${{ github.event.inputs.create_release == 'true' || github.event.inputs.sign_artifact == 'true' }}+ if: ${{ github.event.inputs.sign_artifact == 'true' }}id: upload-unsigned-artifactuses: actions/upload-artifact@v7with:@@ -146,7 +150,7 @@ jobs:path: dist/Ghost-Downloader-3-Unsigned.dist- name: Sign- if: ${{ github.event.inputs.create_release == 'true' || github.event.inputs.sign_artifact == 'true' }}+ if: ${{ github.event.inputs.sign_artifact == 'true' }}uses: signpath/github-action-submit-signing-request@v2with:api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'