Skip to content

Commit

Permalink
ci: build-meta: fix: default branch is main
Browse files Browse the repository at this point in the history
  • Loading branch information
herbetom committed Mar 7, 2024
1 parent 8c2fb0c commit b141624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/build-meta.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit b141624

Please sign in to comment.