diff --git a/.github/workflows/moodle-ci.yml b/.github/workflows/moodle-ci.yml index cb4ef35..9f31627 100644 --- a/.github/workflows/moodle-ci.yml +++ b/.github/workflows/moodle-ci.yml @@ -169,12 +169,12 @@ jobs: files: | plugin/development/mod_kialo.zip generate_release_notes: true - prerelease: ${{endsWith(github.ref, '-beta')}} + prerelease: ${{contains(github.ref, '-beta')}} # Uploads the release to Moodle using its Plugin Directory API - name: Upload to plugin directory id: add-version - if: github.event_name == 'push' && !endsWith(github.ref, '-beta') + if: github.event_name == 'push' && !contains(github.ref, '-beta') run: | if [[ ! -z "${{ github.event.inputs.tag }}" ]]; then TAGNAME="${{ github.event.inputs.tag }}"