mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-02 14:01:20 -03:00
release.sh: fix milestone API calls
This commit is contained in:
@@ -233,7 +233,7 @@ milestone_number=$(
|
||||
gh_api_repo milestones?state=open |
|
||||
jq '.[] | select(.title == "fish '"$version"'") | .number'
|
||||
)
|
||||
gh_api_repo --method PATCH milestones/$milestone_number \
|
||||
gh_api_repo milestones/$milestone_number --method PATCH \
|
||||
--raw-field state=closed
|
||||
|
||||
next_patch_version=$(
|
||||
@@ -244,7 +244,7 @@ next_patch_version=$(
|
||||
'
|
||||
)
|
||||
if [ -n "$next_patch_version" ]; then
|
||||
gh_api_repo --method POST milestones \
|
||||
gh_api_repo milestones --method POST \
|
||||
--raw-field title="fish $next_patch_version"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user