cd: fix aur publish conditions (#814)

This commit is contained in:
ReenigneArcher 2023-01-22 12:24:25 -05:00 committed by GitHub
commit 9df6283da4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -180,13 +180,13 @@ jobs:
commit=${{ github.sha }} commit=${{ github.sha }}
clone_url=${{ github.event.repository.clone_url }} clone_url=${{ github.event.repository.clone_url }}
if [[ ${{ github.ref == 'refs/heads/master' }} ]]; then if [[ ${{ github.ref == 'refs/heads/master' }} == 'true' ]]; then
echo "This is a main release event" echo "This is a main release event"
aur_publish=true aur_publish=true
aur_pkg=sunshine aur_pkg=sunshine
conflicts="" conflicts=""
provides="" provides=""
elif [[ ${{ github.ref == 'refs/heads/nightly' }} ]]; then elif [[ ${{ github.ref == 'refs/heads/nightly' }} == 'false' ]]; then
echo "This is a nightly release event" echo "This is a nightly release event"
sub_version=".r${commit}" sub_version=".r${commit}"
fi fi