From 6bb2cbdcccff35ad6ee119f4fc62a5abce44e73f Mon Sep 17 00:00:00 2001 From: Bill Wallace Date: Tue, 21 Apr 2026 10:18:09 -0400 Subject: [PATCH 1/2] fix: Github checkout --- .circleci/config.yml | 51 ++++++++++++++++++++++++++++++++++++++++++++ publish-version.mjs | 2 -- 2 files changed, 51 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 00424b1354a..9079f0679a2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -178,6 +178,57 @@ jobs: name: publish package versions command: | bun ./publish-version.mjs + - run: + name: create GitHub release from version tag + command: | + if [ -z "$GH_TOKEN" ]; then + echo "GH_TOKEN is required to create GitHub releases." + exit 1 + fi + + if [ ! -f ./version.txt ]; then + echo "version.txt was not found; cannot create release." + exit 1 + fi + + VERSION=$(tr -d '\r\n' < ./version.txt) + TAG="v${VERSION}" + IS_PRERELEASE=false + + if [ "$CIRCLE_BRANCH" = "beta" ]; then + IS_PRERELEASE=true + fi + + RELEASE_PAYLOAD=$(cat < ~/repo/.npmrc diff --git a/publish-version.mjs b/publish-version.mjs index b9755b010f2..3d9ba217d52 100644 --- a/publish-version.mjs +++ b/publish-version.mjs @@ -78,8 +78,6 @@ async function run() { '--message', `chore(version): Update package versions to ${nextVersion} [skip ci]`, '--conventional-commits', - '--create-release', - 'github', '--no-push', ]); From 3cc5f09dd3bc206bd1b73f1e61d2b053e0122705 Mon Sep 17 00:00:00 2001 From: Bill Wallace Date: Tue, 21 Apr 2026 10:31:37 -0400 Subject: [PATCH 2/2] fix: circleci syntax issue --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9079f0679a2..40c21d26bc0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -199,7 +199,7 @@ jobs: IS_PRERELEASE=true fi - RELEASE_PAYLOAD=$(cat <