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。

fix(release): prevent duplicate incomplete agent notifications

t8y201f5da1c4e17
diff --git a/.github/workflows/agents-release.yml b/.github/workflows/agents-release.yml
index 6bb09ddb14..3c06978ca0 100644
--- a/.github/workflows/agents-release.yml
+++ b/.github/workflows/agents-release.yml
@@ -455,6 +455,7 @@ jobs:
- uses: actions/checkout@v4
with:
token: ${{ steps.release-token.outputs.token }}
+ fetch-depth: 0
- uses: actions/download-artifact@v4
with:
path: artifacts
@@ -652,6 +653,9 @@ jobs:
PREV_VERSIONS: ${{ needs.bump-versions.outputs.prev_versions }}
PREV_TAG: ${{ needs.bump-versions.outputs.prev_tag }}
run: |
+ set -euo pipefail
+ git rev-parse --verify "${PREV_TAG}^{commit}" > /dev/null
+
NOTES=""
DRIVER_NAMES=()
module_names() {
diff --git a/.github/workflows/notify.yml b/.github/workflows/notify.yml
index 12649a2779..ff954cc615 100644
--- a/.github/workflows/notify.yml
+++ b/.github/workflows/notify.yml
@@ -6,7 +6,7 @@ on:
pull_request_target:
types: [opened, closed]
release:
- types: [published, released]
+ types: [published]
jobs:
notify:
@@ -55,7 +55,7 @@ jobs:
tag = os.environ["RELEASE_TAG"]
name = os.environ["RELEASE_NAME"]
url = os.environ["RELEASE_URL"]
- body = os.environ.get("RELEASE_BODY", "")[:800]
+ body = os.environ.get("RELEASE_BODY", "")
import re
body = re.sub(r'#{1,6}\s*', '', body)