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:
@@ -30,7 +30,7 @@ fi
|
|||||||
TAG="rust-v$VERSION"
|
TAG="rust-v$VERSION"
|
||||||
RELEASE_BRANCH="release/$TAG"
|
RELEASE_BRANCH="release/$TAG"
|
||||||
|
|
||||||
git checkout -b "$TAG"
|
git checkout -b "$RELEASE_BRANCH"
|
||||||
perl -i -pe "s/^version = \".*\"/version = \"$VERSION\"/" Cargo.toml
|
perl -i -pe "s/^version = \".*\"/version = \"$VERSION\"/" Cargo.toml
|
||||||
git add Cargo.toml
|
git add Cargo.toml
|
||||||
git commit -m "Release $VERSION"
|
git commit -m "Release $VERSION"
|
||||||
|
|||||||
Reference in New Issue
Block a user