From: Marcel van der Veldt Date: Sat, 13 Jul 2024 17:01:38 +0000 (+0200) Subject: another attempt to fix the release script X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=e917f4dc661b66ba9087d6dd34e8043c85043196;p=music-assistant-server.git another attempt to fix the release script --- diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b1dab6ee..d0e60263 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,12 +20,12 @@ jobs: - name: Validate version number run: >- if [[ "${{ github.event.release.prerelease }}" == "true" ]]; then - if ! [[ "${{ steps.vars.outputs.tag }}" =~ "b" ] || [ "${{ steps.vars.outputs.tag }}" =~ "rc" ]]; then + if ! [[ "${{ steps.vars.outputs.tag }}" =~ "b" ]] || [[ "${{ steps.vars.outputs.tag }}" =~ "rc" ]]; then echo "Pre-release: Tag is missing beta suffix (${{ steps.vars.outputs.tag }})" exit 1 fi else - if [[ "${{ steps.vars.outputs.tag }}" =~ "b" ] || [ "${{ steps.vars.outputs.tag }}" =~ "rc" ]]; then + if [[ "${{ steps.vars.outputs.tag }}" =~ "b" ]] || [[ "${{ steps.vars.outputs.tag }}" =~ "rc" ]]; then echo "Release: Tag must not have a beta (or rc) suffix (${{ steps.vars.outputs.tag }})" exit 1 fi