Skip to content

Commit 2b8dafe

Browse files
authored
Merge pull request #10 from pyth-network/cd_doc
Document CD process
2 parents 2f256be + 3f75e00 commit 2b8dafe

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
### 2.3.2
4+
5+
Added PythConnection
6+
37
## 2.2.0
48

59
### Added

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,11 @@ See `src/example_usage.ts` for a runnable example of the above usage.
4747
You can run this example with `npm run example`.
4848

4949
You may also register to specific account updates using `connection.onAccountChange` in the solana web3 API, then
50-
use the methods in `index.ts` to parse the on-chain data structures into Javascript-friendly objects.
50+
use the methods in `index.ts` to parse the on-chain data structures into Javascript-friendly objects.
51+
52+
## Releases
53+
54+
In order to release a new version of this library and publish it to npm, follow these steps:
55+
1. Update `CHANGELOG.md` with a description of the changes in this version.
56+
2. Run `npm version <new version number>`. This command will update the version of the package, tag the branch in git, and push your changes to github.
57+
3. Once your change is merged into `main`, a github action will automatically publish a new version of the package to npm.

0 commit comments

Comments
 (0)