From 471596e5fd2e850579467f355005c5ec94a0513f Mon Sep 17 00:00:00 2001 From: Alex Chang Date: Thu, 7 May 2026 15:27:25 -0400 Subject: [PATCH 1/2] Authenticate release validation fetches (#218) --- .github/workflows/publish-release.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 1fca827..3536932 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -30,6 +30,7 @@ jobs: persist-credentials: false - name: Ensure release tag is on main env: + GITHUB_TOKEN: ${{ github.token }} TAG: ${{ inputs.tag }} run: | case "$TAG" in @@ -38,12 +39,13 @@ jobs: esac git check-ref-format "refs/tags/$TAG" - remote_tag="$(git ls-remote --exit-code --tags --refs origin "refs/tags/$TAG")" + authenticated_origin="https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" + remote_tag="$(git ls-remote --exit-code --tags --refs "$authenticated_origin" "refs/tags/$TAG")" remote_ref="$(printf '%s\n' "$remote_tag" | awk '{print $2}')" test "$remote_ref" = "refs/tags/$TAG" - git fetch --no-tags origin +refs/heads/main:refs/remotes/origin/main - git fetch --no-tags origin "+refs/tags/$TAG:refs/tags/$TAG" + git fetch --no-tags "$authenticated_origin" +refs/heads/main:refs/remotes/origin/main + git fetch --no-tags "$authenticated_origin" "+refs/tags/$TAG:refs/tags/$TAG" local_ref="$(git for-each-ref --format='%(refname)' "refs/tags/$TAG")" test "$local_ref" = "refs/tags/$TAG" From e66b504def7b5bf8805bba177d475033a4648297 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 7 May 2026 19:27:55 +0000 Subject: [PATCH 2/2] release: 1.1.2 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 4 ++++ pkg/cmd/version.go | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b55c11f..9c6a481 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.1.1" + ".": "1.1.2" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index d5e6777..73d0667 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.1.2 (2026-05-07) + +Full Changelog: [v1.1.1...v1.1.2](https://github.com/openai/openai-cli/compare/v1.1.1...v1.1.2) + ## 1.1.1 (2026-05-07) Full Changelog: [v1.1.0...v1.1.1](https://github.com/openai/openai-cli/compare/v1.1.0...v1.1.1) diff --git a/pkg/cmd/version.go b/pkg/cmd/version.go index ef6b949..e8cefce 100644 --- a/pkg/cmd/version.go +++ b/pkg/cmd/version.go @@ -2,4 +2,4 @@ package cmd -const Version = "1.1.1" // x-release-please-version +const Version = "1.1.2" // x-release-please-version