From ed36e852d243ea0cf48b8781f44934a2457ff9ee Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Fri, 3 Oct 2025 17:30:44 +0200 Subject: [PATCH] release.sh: add next patch milestone This is still the common case. --- build_tools/release.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/build_tools/release.sh b/build_tools/release.sh index a8830b61c..6f82a137b 100755 --- a/build_tools/release.sh +++ b/build_tools/release.sh @@ -228,6 +228,18 @@ milestone_number=$( gh_api_repo --method PATCH milestones/$milestone_number \ --raw-field state=closed +next_patch_version=$( + echo "$version" | awk -F. ' + NF == 3 && $3 ~ /[0-9]+/ { + printf "%s.%s.%s", $1, $2, $3+1 + } + ' +) +if [ -n "$next_patch_version" ]; then + gh_api_repo --method POST milestones \ + --raw-field title="fish $next_patch_version" +fi + exit }