Skip to content

Commit 92f7b75

Browse files
committed
Add megadiscord as a latest branch temporarily
1 parent 69472ee commit 92f7b75

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" {
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"
47+
isLatest := branch == "main" || branch == "master" || branch == "megadiscord"
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)