We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a50b393 + 0197053 commit a3f4156Copy full SHA for a3f4156
scripts/issue-tagging.sh
@@ -50,9 +50,11 @@ for pr in $PRs; do
50
ISSUES+=("$id")
51
done
52
53
-# Remove duplicate IDs
54
-# This can happen when we release using a separate branch (e.g. patch releases)
55
-mapfile -t ISSUES < <(printf "%s\n" "${ISSUES[@]}" | sort -u)
+if (( ${#ISSUES[@]} > 0 )); then
+ # Remove duplicate IDs
+ # This can happen when we release using a separate branch (e.g. patch releases)
56
+ mapfile -t ISSUES < <(printf "%s\n" "${ISSUES[@]}" | sort -u)
57
+fi
58
59
echo "Creating milestone $LATEST_TAG in github.com/$REPO"
60
curl -X POST \
0 commit comments