Skip to content

Commit 1308694

Browse files
committed
Add megabridge to the list of branches to push to Beeper
1 parent c2ffa68 commit 1308694

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func main() {
2929
}
3030

3131
func githubMain() {
32-
if branch := env("GITHUB_REF_NAME"); branch != "main" && branch != "master" && branch != "xchat" {
32+
if branch := env("GITHUB_REF_NAME"); branch != "main" && branch != "master" && branch != "xchat" && branch != "megabridge" {
3333
log.Println("Not notifying Beeper about update: not on main branch")
3434
return
3535
}
@@ -44,7 +44,7 @@ func gitlabMain() {
4444
return
4545
}
4646
branch := env("CI_COMMIT_BRANCH")
47-
isLatest := branch == "main" || branch == "master" || branch == "xchat"
47+
isLatest := branch == "main" || branch == "master" || branch == "xchat" || branch == "megabridge"
4848
bridgeType := BridgeType(env("BEEPER_BRIDGE_TYPE"))
4949
image := bridgeType.RetagImage(env("CI_REGISTRY_IMAGE"), env("CI_COMMIT_SHA"), isLatest)
5050
if !isLatest {

0 commit comments

Comments
 (0)