Disable draft tag check [skip ci]

This commit is contained in:
makamys committed 2023-02-17 09:41:18 +01:00
1 parent 898bd7d8db
commit fdec26a280
1 file changed
+1 -1
+1 -1
View File
@@ -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)
# [ $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: