cd: fix aur publish conditions (#814)

This commit is contained in:
ReenigneArcher
2023-01-22 12:24:25 -05:00
committed by GitHub
parent c8c80807da
commit 9df6283da4

View File

@@ -180,13 +180,13 @@ jobs:
commit=${{ github.sha }}
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"
aur_publish=true
aur_pkg=sunshine
conflicts=""
provides=""
elif [[ ${{ github.ref == 'refs/heads/nightly' }} ]]; then
elif [[ ${{ github.ref == 'refs/heads/nightly' }} == 'false' ]]; then
echo "This is a nightly release event"
sub_version=".r${commit}"
fi