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

This should have been done in https://github.com/openai/codex/pull/1423.
This commit is contained in:
Michael Bolin
2025-06-29 10:18:50 -07:00
committed by GitHub
parent 688100f7f4
commit cd2d84d496

View File

@@ -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"