Release v1.0.1

This commit is contained in:
2026-03-12 22:29:01 +00:00
parent 46c7e3daf2
commit 0374068bb7
+5 -7
View File
@@ -51,19 +51,17 @@ fi
echo "Pushing to origin..." echo "Pushing to origin..."
git push origin main git push origin main
# --- Git tag --- # --- Git tag & Gitea release ---
tag="v${new_version}" tag="v${new_version}"
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}..." echo "Creating tag ${tag}..."
git tag -a "${tag}" -m "Release ${tag}" git tag -a "${tag}" -m "Release ${tag}"
git push origin "${tag}" git push origin "${tag}"
# --- Gitea release ---
echo "" 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."
else
echo "Creating Gitea release..." echo "Creating Gitea release..."
# Generate release notes from git log since last tag # Generate release notes from git log since last tag