From b141624b08f947c6479cf5ea339964835816b77c Mon Sep 17 00:00:00 2001 From: Tom Herbers Date: Fri, 8 Mar 2024 00:56:44 +0100 Subject: [PATCH] ci: build-meta: fix: default branch is main --- .github/build-meta.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/build-meta.sh b/.github/build-meta.sh index 016545a..e7f15fc 100644 --- a/.github/build-meta.sh +++ b/.github/build-meta.sh @@ -79,8 +79,8 @@ echo "GitHub Ref-Type: $GITHUB_REF_TYPE" echo "GitHub Ref-Name: $GITHUB_REF_NAME" if [ "$GITHUB_EVENT_NAME" = "push" ] && [ "$GITHUB_REF_TYPE" = "branch" ]; then - if [ "$GITHUB_REF_NAME" = "master" ]; then - # Push to master - autoupdater Branch is nightly and enabled + if [ "$GITHUB_REF_NAME" = "main" ]; then + # Push to main - autoupdater Branch is nightly and enabled AUTOUPDATER_ENABLED="1" AUTOUPDATER_BRANCH="nightly"