Skip to content

Commit

Permalink
inverted test
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Jul 24, 2024
1 parent f752898 commit 116bc50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
version=${{ steps.pre-release.outputs.VERSION }}
echo "Trying to find milestone $version"
milestone=$(gh milestone list --json id,title,state --jq "map_values(select(.title == \"${version}\" and .state == \"OPEN\")).[].number")
if [ -z "$milestone" ]; then
if [ ! -z "$milestone" ]; then
echo "Found milestone $version, closing it"
gh milestone edit $milestone --state closed
fi
Expand Down

0 comments on commit 116bc50

Please sign in to comment.