From 3f9a31856ce2d91ecba8c01675cd860812e76484 Mon Sep 17 00:00:00 2001 From: iSplasher Date: Thu, 4 Jan 2024 21:15:13 +0100 Subject: [PATCH] ci fix; --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 585a9b6..1d3e096 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,7 @@ jobs: - name: Read previous tag run: | - if git describe --tags --match='${{ env.PLUGIN_ID }}-v*' HEAD^ >/dev/null 2>&1; then + if [ git describe --tags --match='${{ env.PLUGIN_ID }}-v*' HEAD^ >/dev/null 2>&1]; then echo "PREVIOUS_TAGNAME=$(git describe --tags --abbrev=0 --match='${{ env.PLUGIN_ID }}-v*' HEAD^)" >> $GITHUB_ENV else echo "PREVIOUS_TAGNAME='' >> $GITHUB_ENV