Skip to content

Commit 0567c08

Browse files
committed
Prepare for release of ccd-js-gen
1 parent 227bc1a commit 0567c08

File tree

4 files changed

+22
-1
lines changed

4 files changed

+22
-1
lines changed

.github/workflows/deployment.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ jobs:
8080
path: |
8181
./packages/sdk/lib
8282
./packages/sdk/src
83+
./packages/ccd-js-gen/lib
84+
./packages/ccd-js-gen/src
8385
./packages/rust-bindings/lib
8486
./packages/*/package.json
8587
./packages/*/README.md

.github/workflows/pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
workflow_dispatch:
1313

1414
env:
15-
DUMMY: 2 # For cache busting.
15+
DUMMY: 3 # For cache busting.
1616
NODE_VERSION: 18.16.0
1717
RUST_VERSION: 1.65
1818
RUST_FMT: nightly-2023-04-01-x86_64-unknown-linux-gnu

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Wrappers for interacting with the Concordium node.
2121
- [Making a new release](#making-a-new-release)
2222
- [SDK](#sdk)
2323
- [rust-bindings](#rust-bindings)
24+
- [ccd-js-gen](#ccd-js-gen)
2425
- [Test](#test)
2526
<!--toc:end-->
2627

@@ -133,6 +134,19 @@ each of the packages contained in this repository.
133134
- From the rust-bindings package directory (packages/rust-bindings) run
134135
`yarn npm publish`
135136

137+
### ccd-js-gen
138+
139+
- Bump the version in [package.json](./packages/ccd-js-gen/package.json).
140+
- Update the [CHANGELOG](./packages/ccd-js-gen/CHANGELOG.md) describing
141+
the changes made.
142+
- Commit and tag the release.
143+
- Tag should be `ccd-js-gen/x.y.z`.
144+
- Run the deploy workflow.
145+
- Under github actions, run the "deploy" workflow and download the
146+
`build-release` artifact. Unpack this file and use it for the release.
147+
- Publish the release to NPM.
148+
- From the ccd-js-gen package directory (packages/ccd-js-gen) run `yarn npm publish`
149+
136150
## Test
137151

138152
An automatic test suite is part of this project, and it is run by executing:

packages/ccd-js-gen/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Changelog - ccd-js-gen
2+
3+
## 1.0.0
4+
5+
- Initial release

0 commit comments

Comments
 (0)