[PR #4773] [MERGED] ci: fix release.yml #31174

Closed
opened 2026-04-17 22:05:26 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4773
Author: @himself65
Created: 9/19/2025
Status: Merged
Merged: 9/19/2025
Merged by: @himself65

Base: canaryHead: himself65/2025/09/19/fix


📝 Commits (1)

📊 Changes

1 file changed (+9 additions, -4 deletions)

View changed files

📝 .github/workflows/release.yml (+9 -4)

📄 Description

Summary by cubic

Fix release workflow to set the npm tag to "latest" when the tagged commit is on main or a version branch (vN.N.x-latest). Adds branch detection and clearer errors for disallowed branches to prevent accidental "latest" publishes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/4773 **Author:** [@himself65](https://github.com/himself65) **Created:** 9/19/2025 **Status:** ✅ Merged **Merged:** 9/19/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2025/09/19/fix` --- ### 📝 Commits (1) - [`13c1df6`](https://github.com/better-auth/better-auth/commit/13c1df6af15f71c30da8aeb24ead699480b879e8) ci: fix release.yml ### 📊 Changes **1 file changed** (+9 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/release.yml` (+9 -4) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Fix release workflow to set the npm tag to "latest" when the tagged commit is on main or a version branch (vN.N.x-latest). Adds branch detection and clearer errors for disallowed branches to prevent accidental "latest" publishes. <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-17 22:05:26 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#31174