From 8be8ff444bb10466b91cbd57ac34cba98c8fc379 Mon Sep 17 00:00:00 2001 From: strausr Date: Thu, 14 May 2026 15:55:28 -0700 Subject: [PATCH] chore: remove beta prerelease configuration --- .github/workflows/release.yml | 29 ----------------------------- .releaserc.json | 6 +----- README.md | 2 -- 3 files changed, 1 insertion(+), 36 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3ed9612..f479b13 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,15 +63,6 @@ jobs: git checkout -B main git branch --set-upstream-to=origin/main main - - name: Ensure master branch exists (for semantic-release validation) - run: | - # semantic-release requires at least one release branch that exists; repo uses main, we declare "master" - if ! git ls-remote --heads origin master 2>/dev/null | grep -q .; then - git checkout -b master - git push origin master - git checkout main - fi - - uses: actions/setup-node@v4 with: node-version: '20' @@ -87,14 +78,6 @@ jobs: git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" - - name: Add semantic-release note (dry run only) - if: github.event.inputs.dry_run == 'true' - run: | - set -e - if ! git rev-parse --verify v1.0.0-beta.1 >/dev/null 2>&1; then exit 0; fi - git notes --ref semantic-release-v1.0.0-beta.1 add -f -m '{"channels":["beta"]}' v1.0.0-beta.1 - echo "Added semantic-release note to v1.0.0-beta.1 (local only for dry run)." - - name: Dry run mode notice if: github.event.inputs.dry_run == 'true' run: | @@ -105,18 +88,6 @@ jobs: echo "To perform a real release, run again and uncheck 'Dry run only'." echo "" - - name: Ensure v1.0.0-beta.1 exists locally (dry run only) - if: github.event.inputs.dry_run == 'true' - run: | - if ! git rev-parse --verify "v1.0.0-beta.1" >/dev/null 2>&1; then - # So semantic-release sees a "previous release" and suggests 1.0.0-beta.2 for new commits - PARENT=$(git rev-parse HEAD~1 2>/dev/null || git rev-parse HEAD) - git tag -a "v1.0.0-beta.1" "$PARENT" -m "chore: initial beta release (dry-run placeholder)" - echo "Created local tag v1.0.0-beta.1 at $PARENT so semantic-release can compute next version (1.0.0-beta.2)." - else - echo "Tag v1.0.0-beta.1 already exists." - fi - - name: Get version before semantic-release id: version-before run: | diff --git a/.releaserc.json b/.releaserc.json index f580732..9790cc1 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -1,10 +1,6 @@ { "branches": [ - "master", - { - "name": "main", - "prerelease": "beta" - } + "main" ], "tagFormat": "v${version}", "plugins": [ diff --git a/README.md b/README.md index 47effbd..ec8ee00 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,6 @@ Scaffold a modern, production-ready Cloudinary application with React 19, Vite 6 - [Sign up for free](https://cld.media/reactregister) - Your cloud name is in your [dashboard](https://console.cloudinary.com/app/home/dashboard) -> **Beta Release** - This is a beta version. We welcome feedback and bug reports! - Part of the [Cloudinary Developers](https://github.com/cloudinary-devs) organization. ![Build with Cloudinary!](https://res.cloudinary.com/cloudinary-creators-community/image/upload/c_thumb,w_200,g_face/v1771434800/Tee-Mascot-Hacktoberfest-cloudicorn_x6zvtf.png)