这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 9 additions & 18 deletions packages/circle-react-elements/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand All @@ -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.
2 changes: 1 addition & 1 deletion packages/circle-react-elements/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down