cd: fix aur publish conditions (#815)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user