Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.1.1"
".": "1.1.2"
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

package cmd

const Version = "1.1.1" // x-release-please-version
const Version = "1.1.2" // x-release-please-version
Loading