mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix(ci): update draft release query to use tagName instead of url (#3349)
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
parent
dcbf664f38
commit
ab18e99bd5
1 changed files with 1 additions and 1 deletions
2
.github/workflows/post-release-cleanup.yml
vendored
2
.github/workflows/post-release-cleanup.yml
vendored
|
|
@ -68,7 +68,7 @@ jobs:
|
|||
|
||||
echo "Searching for draft releases with '$BASE_VERSION' in their name."
|
||||
|
||||
DRAFT_RELEASES=$(gh release list --json name,isDraft,url --limit 100 | jq -r --arg ver "$BASE_VERSION" '.[] | select(.isDraft == true and (.name | contains($ver))) | .url')
|
||||
DRAFT_RELEASES=$(gh release list --json name,isDraft,tagName --limit 100 | jq -r --arg ver "$BASE_VERSION" '.[] | select(.isDraft == true and (.name | contains($ver))) | .tagName')
|
||||
|
||||
if [ -z "$DRAFT_RELEASES" ]; then
|
||||
echo "No draft releases found with '$BASE_VERSION' in their name."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue