fix workflow

This commit is contained in:
Muhammad Atif Ali 2023-08-11 12:42:00 +03:00
parent 96e8861edb
commit a5f9f0e2c3

View file

@ -18,9 +18,9 @@ jobs:
run: |
set -euo pipefail
if [[ "${{ github.ref }}" =~ -(alpha|beta)- ]]; then
echo "PRE_RELEASE=true" >> $GITHUB_ENV
echo "PRE_RELEASE=true" >> $GITHUB_OUTPUT
else
echo "PRE_RELEASE=false" >> $GITHUB_ENV
echo "PRE_RELEASE=false" >> $GITHUB_OUTPUT
fi
# Create a pre release if tag name has alpha or beta