commit 8d7b2a41649d579ab9f7083197ecc8668a1eae04
| author | 斟酌 鵬兄 <tgckpg@gmail.com> |
| date | 2026-05-29T23:23:32Z |
| subject | Added experimental message |
commit 8d7b2a41649d579ab9f7083197ecc8668a1eae04
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date: 2026-05-29T23:23:32Z
Added experimental message
---
.github/workflows/cmake-multi-platform.yml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml
index a50c1d8..16d02f8 100644
--- a/.github/workflows/cmake-multi-platform.yml
+++ b/.github/workflows/cmake-multi-platform.yml
@@ -256,9 +256,23 @@ jobs:
tag="${GITHUB_REF_NAME}"
+ body_file="$(mktemp)"
+
+ if printf '%s\n' "$tag" | grep -Eq '^v0\.'; then
+ cat > "$body_file" <<'EOF'
+ > [!WARNING]
+ > This is an experimental v0.x release.
+ >
+ > APIs, config formats, behavior, and compatibility may change without notice.
+ EOF
+ else
+ : > "$body_file"
+ fi
+
if ! gh release view "$tag" >/dev/null 2>&1; then
gh release create "$tag" \
--title "$tag" \
+ --notes-file "$body_file" \
--generate-notes
fi