Skip to content

Commit b144e71

Browse files
JeevantheDevclaude
andcommitted
fix: hide develop branch runs without release tag from Release tab
Runs on develop branch without a valid releaseTag should not appear in the Release tab. Production deploys should be on main branch with a proper release tag. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 10fc383 commit b144e71

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

app/(dashboard)/ci/page.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,11 @@ export default function CiPage() {
409409
if (name.includes("preview")) {
410410
return "CI";
411411
}
412+
// Hide from Release tab if it's a develop branch without a valid release tag
413+
// Production deploys should be on main branch with a proper release tag
414+
if (run.branch === "develop" && !run.releaseTag) {
415+
return "CI";
416+
}
412417
return "Release";
413418
}
414419
return "CI";

0 commit comments

Comments
 (0)