build: use separate config variable for preleases

This commit is contained in:
Marcin Kurczewski 2024-05-02 15:56:31 +02:00
parent 98dd014841
commit 37cd544d90
No known key found for this signature in database
GPG key ID: CC65E6FD28CAE42A

View file

@ -14,7 +14,7 @@ jobs:
uses: ./.github/workflows/release.yml
if: |
github.ref == 'refs/heads/develop' &&
vars.RELEASE_ENABLE == 'true'
vars.PRERELEASE_ENABLE == 'true'
with:
release_name: 'Development snapshot'
draft: false