fix: update 2.3.x package and release flow

This commit is contained in:
Kevin Yue committed 2026-04-19 10:58:39 +08:00
1 parent 6db0ed726a
commit 0e32dab997
2 files changed
+14

No files matched your search

+3
View File
@@ -4,5 +4,8 @@ export OFFLINE = @OFFLINE@
export BUILD_FE = 0
export LIBXML2_STATIC = 1
override_dh_auto_build:
$(MAKE) build
%:
dh $@ --no-parallel
+11
View File
@@ -33,11 +33,22 @@ release_snapshot() {
}
release_tag() {
local release_args=()
if existing_notes=$(gh -R "$REPO" release view "$TAG" --json body --jq .body 2>/dev/null); then
RELEASE_NOTES="$existing_notes"
fi
if [[ $TAG == v2.3.* ]]; then
release_args+=(--latest=false)
fi
echo "Removing existing release..."
gh -R "$REPO" release delete $TAG --yes --cleanup-tag || true
echo "Creating release..."
gh -R "$REPO" release create $TAG \
"${release_args[@]}" \
--title "$TAG" \
--notes "$RELEASE_NOTES" \
"$PROJECT_DIR"/.build/artifacts/artifact-source*/* \