Skip to content

armgit / dbx

Public Imported from GitHub
0

25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。

ci(release): remove standalone signature assets

t8y2ef568b8f9812
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 24ededd648..545f55922d 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -201,8 +201,36 @@ jobs:
Compress-Archive -Path (Join-Path $portableDir "*") -DestinationPath $zipName -Force
gh release upload "${env:GITHUB_REF_NAME}" $zipName --repo "${env:GITHUB_REPOSITORY}" --clobber
+ cleanup-release-signatures:
+ needs: build
+ runs-on: ubuntu-latest
+ steps:
+ - name: Remove standalone updater signature assets
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ shell: bash
+ run: |
+ mapfile -t SIG_ASSETS < <(
+ gh release view "${GITHUB_REF_NAME}" \
+ --repo "${GITHUB_REPOSITORY}" \
+ --json assets \
+ --jq '.assets[].name | select(endswith(".sig"))'
+ )
+
+ if [ "${#SIG_ASSETS[@]}" -eq 0 ]; then
+ echo "No standalone .sig release assets found."
+ exit 0
+ fi
+
+ for ASSET in "${SIG_ASSETS[@]}"; do
+ echo "Deleting release asset: ${ASSET}"
+ gh release delete-asset "${GITHUB_REF_NAME}" "${ASSET}" \
+ --repo "${GITHUB_REPOSITORY}" \
+ --yes
+ done
+
jdbc-plugin:
- needs: [build, bump-jdbc-plugin-version]
+ needs: [cleanup-release-signatures, bump-jdbc-plugin-version]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@@ -261,7 +289,7 @@ jobs:
--clobber
publish:
- needs: [build, docker-manifest, jdbc-plugin]
+ needs: [cleanup-release-signatures, docker-manifest, jdbc-plugin]
runs-on: ubuntu-latest
steps:
- name: Publish draft release