From 9d6d59aa55ba51bc60d9f9fdd201b12f7ae36bf3 Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Sun, 22 Jan 2023 13:23:24 -0500 Subject: [PATCH] cd: fix aur publish conditions (#815) --- .github/workflows/CI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e5148e4d..09d15d48 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -180,13 +180,13 @@ jobs: commit=${{ github.sha }} clone_url=${{ github.event.repository.clone_url }} - if [[ ${{ github.ref == 'refs/heads/master' }} == 'true' ]]; then + if [[ ${{ github.ref == 'refs/heads/master' }} == true ]]; then echo "This is a main release event" aur_publish=true aur_pkg=sunshine conflicts="" provides="" - elif [[ ${{ github.ref == 'refs/heads/nightly' }} == 'false' ]]; then + elif [[ ${{ github.ref == 'refs/heads/nightly' }} == true ]]; then echo "This is a nightly release event" sub_version=".r${commit}" fi