Enhance the release tag creation and Helm package push procedures: Create Helm package improvements: - Add retry logic for git push (up to 3 attempts) - Rebase on failure to resolve conflicts - Fail with exit 1 if push ultimately fails (was silently ignored) - Log success message Create release tag improvements: - Check if tag already exists before creating (avoid duplicate creation) - Add retry logic for tag push (up to 3 attempts) - Fail with exit 1 if push ultimately fails (prevents silent failures) - Suppress error output during retry to keep logs clean - Better logging of tag creation and push success These changes ensure that: 1. Failed releases don't go unnoticed (exit 1 instead of ignoring) 2. Transient network issues are handled gracefully (retry mechanism) 3. Duplicate tags are avoided 4. Release artifacts are reliably pushed to remote Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
16 KiB
16 KiB