diff --git a/.github/workflows/market-release-drafter-action.yml b/.github/workflows/market-release-drafter-action.yml index e4be9a6ffc..0abc6b90b3 100644 --- a/.github/workflows/market-release-drafter-action.yml +++ b/.github/workflows/market-release-drafter-action.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Configure Release Draft Settings run: | - if [[ "$GITHUB_REF_NAME" = release/* ]]; then + if [[ "$GITHUB_REF_NAME" = *release/* ]]; then RELEASE_VERSION="${GITHUB_REF_NAME#release/}" echo "DRAFTER_NAME=Next Release $RELEASE_VERSION 🛒" >> $GITHUB_ENV echo "DRAFTER_TAG=next-$RELEASE_VERSION" >> $GITHUB_ENV