mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-21 06:00:39 +00:00
fix(release): prevent duplicate incomplete agent notifications
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user