cd: fix aur publish conditions (#815)

This commit is contained in:
ReenigneArcher
2023-01-22 13:23:24 -05:00
committed by GitHub
parent 9df6283da4
commit 9d6d59aa55
+2 -2
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' }} == 'true' ]]; 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' }} == 'false' ]]; then elif [[ ${{ github.ref == 'refs/heads/nightly' }} == true ]]; 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