From 2ef5c5e02202ec218087da02cd2fb83bb6b2a25e Mon Sep 17 00:00:00 2001 From: makamys Date: Fri, 17 Feb 2023 09:45:04 +0100 Subject: [PATCH] Fix yaml maybe --- .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 ac5ec94..dc316ba 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,7 +49,7 @@ jobs: | jq ".[0]" > /tmp/last-release.json [ $(cat /tmp/last-release.json | jq '.draft' -r) == true ] || (echo "Error: Last release is not a draft" && false) DRAFT_TAG=$(cat /tmp/last-release.json | jq '.tag_name' -r) -# [ $DRAFT_TAG == $RELEASE_VERSION ] || (echo "Error: Last draft's tag does not match pushed tag" && false) + true || [ $DRAFT_TAG == $RELEASE_VERSION ] || (echo "Error: Last draft's tag does not match pushed tag" && false) cat /tmp/last-release.json | jq '.body' -r > /tmp/changelog.md cat /tmp/last-release.json | jq '.id' > /tmp/draft_id.txt env: