From 6f73dbc36aafe936d88a4325c483d2c38020d8aa Mon Sep 17 00:00:00 2001 From: Fallenbagel <98979876+Fallenbagel@users.noreply.github.com> Date: Thu, 5 Jan 2023 02:26:23 +0500 Subject: [PATCH] Fix snap stable builds --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 50096840d..0eb04b391 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,15 +51,15 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Switch to master branch - run: git checkout master + - name: Switch to main branch + run: git checkout main - name: Pull latest changes run: git pull - name: Prepare id: prepare run: | git fetch --prune --tags - if [[ $GITHUB_REF == refs/tags/* || $GITHUB_REF == refs/heads/master ]]; then + if [[ $GITHUB_REF == refs/tags/* || $GITHUB_REF == refs/heads/main ]]; then echo ::set-output name=RELEASE::stable else echo ::set-output name=RELEASE::edge