Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nkmrh committed Jun 20, 2023
1 parent e79a3c0 commit 4162212
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,19 @@ yarn test

# Release

1. Login: Run `npm login` from the command line to log in to npm. Enter the username and password you set up when you created your account.
## 1. Update plugin version

1. Publish the package: When everything is ready, run the `npm publish` command to publish the package.
```sh
yarn version <strategy>
```

## 2. Create tag

```sh
git tag -a <version>
git push origin <version>
```

## 3. Create release from tag

1. To update the version of the published package, you must use the npm version command to increase the version number and run `npm publish` again.
Create a release in [releases](https://github.com/plaidev/karte-expo-plugin/releases). Then the [publish workflow](https://github.com/plaidev/karte-expo-plugin/blob/main/.github/workflows/publish.yml) is run and the package is published.

0 comments on commit 4162212

Please sign in to comment.