From 15706ebf9e37567d13bdc89d2d1023bcf3ad189e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 8 Feb 2026 10:52:11 +0000 Subject: [PATCH 1/2] Initial plan From 745e0110b22d0fd1696447eca9876de0a58812ce Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 8 Feb 2026 10:53:35 +0000 Subject: [PATCH 2/2] fix: add curl -f flag and revert maintainer emails to project address Co-authored-by: senet <4061835+senet@users.noreply.github.com> --- libexec/kctl-env-list-remote | 2 +- packaging/debian/control | 2 +- scripts/release.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libexec/kctl-env-list-remote b/libexec/kctl-env-list-remote index 5b1a3fe..26464b8 100755 --- a/libexec/kctl-env-list-remote +++ b/libexec/kctl-env-list-remote @@ -15,7 +15,7 @@ PER_PAGE=100 api_base="https://api.github.com/repos/kubernetes/kubernetes/tags" -curl_args=(-sSL) +curl_args=(-sSLf) if [[ -n "${GITHUB_TOKEN:-}" ]]; then curl_args+=(-H "Authorization: Bearer ${GITHUB_TOKEN}") fi diff --git a/packaging/debian/control b/packaging/debian/control index f400e08..d5cada9 100644 --- a/packaging/debian/control +++ b/packaging/debian/control @@ -1,7 +1,7 @@ Source: kctl-env Section: utils Priority: optional -Maintainer: kctl-env Maintainers +Maintainer: kctl-env Maintainers Standards-Version: 4.6.2 Build-Depends: debhelper-compat (= 13) diff --git a/scripts/release.sh b/scripts/release.sh index e311b0f..76261f9 100644 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -32,7 +32,7 @@ if [[ -f "$changelog_file" ]]; then echo echo " * Release $new_version" echo - echo " -- kctl-env Maintainers $change_date" + echo " -- kctl-env Maintainers $change_date" echo cat "$changelog_file" } > "$tmp" @@ -44,7 +44,7 @@ spec_file="packaging/rpm/kctl-env.spec" if [[ -f "$spec_file" ]]; then sed -i "s/^Version:\s*.*/Version: $new_version/" "$spec_file" # Update changelog - sed -i "1 a\\* $(date +"%a %b %d %Y") kctl-env Maintainers - $new_version-1\\n- Release $new_version" "$spec_file" + sed -i "1 a\\* $(date +"%a %b %d %Y") kctl-env Maintainers - $new_version-1\\n- Release $new_version" "$spec_file" fi # Commit changes