Skip to content

Commit

Permalink
Add publishing instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
eatyourgreens authored Nov 11, 2023
1 parent 3b9a027 commit 241fc0d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,11 @@ If you're using `npm link` to test the library with your app, then you may need
]
}
```

## Publishing

1. Add the new version to the changelog.
2. `npm version major|minor|patch` to test, build, and push a new tagged version. https://github.com/zooniverse/Zooniverse-React-Components/blob/3b9a027132e85480b6882fa53129186ef4a128a1/package.json#L16-L19
3. Publish the new tag as a release on GitHub.
4. `npm publish --dry-run` to double-check the release.
5. `npm publish`.

0 comments on commit 241fc0d

Please sign in to comment.