Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

fix: need to check out the branch, not the tag (#1430)

Michael Bolincd2d84d49615
diff --git a/codex-rs/scripts/create_github_release.sh b/codex-rs/scripts/create_github_release.sh
index b08dab6095..19903c1a03 100755
--- a/codex-rs/scripts/create_github_release.sh
+++ b/codex-rs/scripts/create_github_release.sh
@@ -30,7 +30,7 @@ fi
TAG="rust-v$VERSION"
RELEASE_BRANCH="release/$TAG"
-git checkout -b "$TAG"
+git checkout -b "$RELEASE_BRANCH"
perl -i -pe "s/^version = \".*\"/version = \"$VERSION\"/" Cargo.toml
git add Cargo.toml
git commit -m "Release $VERSION"