Skip to content

Commit c289f79

Browse files
committed
Merge branch 'master' into release-1.6
2 parents a4f8c00 + bb2b14a commit c289f79

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

.github/workflows/integrate.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: FLOW-JS-SDK Continuous Integration
22

33
on:
44
pull_request:
5-
branches: [master]
65

76
jobs:
87
test_pull_request:

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,29 @@ While FCL itself is a concept and standard, FCL JS is the javascript implementat
3737
npm i
3838
npm run build
3939
```
40+
41+
### Release
42+
Packages stable versions releases are controlled by [changesets](https://github.com/changesets/changesets) from the `master` branch
43+
44+
#### Prerelease(alpha)
45+
In order to create an `alpha` (pre-)release
46+
- create a branch with `release-<VERSION>` as a branch name
47+
- run:
48+
```
49+
npm run changeset pre enter alpha
50+
npm run changeset version
51+
npm run changeset publish
52+
```
53+
54+
*NOTE: you need to have an npm account and be a member of [OnFlow organization](https://www.npmjs.com/org/onflow)*
55+
56+
`changeset` commands should preferably be run from the `release` branch and not from feature branches in order to avoid merge conflicts with other feature branches
57+
when the release is ready to be published as stable run from the release branch
58+
```
59+
npm run changeset pre exit
60+
```
61+
and merge `release-<VERSION>` branch to `master`
62+
4063
### Installation
4164

4265
To use the FCL JS in your application, install using **yarn** or **npm**

0 commit comments

Comments
 (0)