Release v1.0.1

This commit is contained in:
2026-03-12 22:29:01 +00:00
parent 46c7e3daf2
commit 0374068bb7
+8 -10
View File
@@ -51,19 +51,17 @@ fi
echo "Pushing to origin..."
git push origin main
# --- Git tag ---
# --- Git tag & Gitea release ---
tag="v${new_version}"
echo "Creating tag ${tag}..."
git tag -a "${tag}" -m "Release ${tag}"
git push origin "${tag}"
# --- Gitea release ---
echo ""
# Check if release already exists
if tea release list -o simple 2>/dev/null | grep -q "^${tag}"; then
echo "Warning: Release ${tag} already exists on Gitea, skipping release creation."
if git tag -l "${tag}" | grep -q "^${tag}$"; then
echo "Warning: Tag ${tag} already exists, skipping tag, push, and release creation."
else
echo "Creating tag ${tag}..."
git tag -a "${tag}" -m "Release ${tag}"
git push origin "${tag}"
echo ""
echo "Creating Gitea release..."
# Generate release notes from git log since last tag