From 9281921ace2025e6480da0fc18cb5b649bd5f7ab Mon Sep 17 00:00:00 2001 From: Kris Urbas <605420+krzysu@users.noreply.github.com> Date: Thu, 20 Feb 2025 12:14:38 +0100 Subject: [PATCH] chore: release @circle-libs/react-elements@0.1.0 --- packages/circle-react-elements/RELEASE.md | 27 +++++++-------------- packages/circle-react-elements/package.json | 2 +- 2 files changed, 10 insertions(+), 19 deletions(-) diff --git a/packages/circle-react-elements/RELEASE.md b/packages/circle-react-elements/RELEASE.md index 71a5a6b..3b52f1a 100644 --- a/packages/circle-react-elements/RELEASE.md +++ b/packages/circle-react-elements/RELEASE.md @@ -17,33 +17,25 @@ This document outlines the steps to prepare and publish a new release of @circle ## Creating a Release 1. Create a new branch for the release: - ```bash - git checkout -b release/v[version] - ``` -### Beta Release - -1. Update version in `package.json` to include beta tag (e.g., "0.1.0-beta.1") -2. Build the package: - ```bash - yarn build - ``` -3. Publish with beta tag: ```bash - npm publish --tag beta --access public + git checkout -b release/v[version] ``` -### Stable Release +2. Update version in `package.json` following semver: -1. Update version in `package.json` following semver: - MAJOR version for incompatible API changes - MINOR version for backwards-compatible functionality - PATCH version for backwards-compatible bug fixes -2. Build the package: + +3. Build the package: + ```bash yarn build ``` -3. Publish: + +4. Publish: + ```bash npm publish --access public ``` @@ -62,7 +54,6 @@ This document outlines the steps to prepare and publish a new release of @circle git tag @circle-libs/react-elements@[version] git push origin --tags ``` -5. If this was a beta release that is now stable, update release notes with what changed -6. Create a GitHub release with the changelog +5. Create a GitHub release with the changelog This workflow ensures that version tags are always attached to the squashed commits in the main branch, preventing tag loss during squash merges. diff --git a/packages/circle-react-elements/package.json b/packages/circle-react-elements/package.json index 88ba471..662fb73 100644 --- a/packages/circle-react-elements/package.json +++ b/packages/circle-react-elements/package.json @@ -1,6 +1,6 @@ { "name": "@circle-libs/react-elements", - "version": "0.0.1-beta.4", + "version": "0.1.0", "description": "React components compatible with Circle SDK", "keywords": [ "react",