Skip to content

Commit

Permalink
Prepare for release of ccd-js-gen
Browse files Browse the repository at this point in the history
  • Loading branch information
limemloh committed Oct 19, 2023
1 parent 227bc1a commit 0567c08
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ jobs:
path: |
./packages/sdk/lib
./packages/sdk/src
./packages/ccd-js-gen/lib
./packages/ccd-js-gen/src
./packages/rust-bindings/lib
./packages/*/package.json
./packages/*/README.md
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
workflow_dispatch:

env:
DUMMY: 2 # For cache busting.
DUMMY: 3 # For cache busting.
NODE_VERSION: 18.16.0
RUST_VERSION: 1.65
RUST_FMT: nightly-2023-04-01-x86_64-unknown-linux-gnu
Expand Down
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Wrappers for interacting with the Concordium node.
- [Making a new release](#making-a-new-release)
- [SDK](#sdk)
- [rust-bindings](#rust-bindings)
- [ccd-js-gen](#ccd-js-gen)
- [Test](#test)
<!--toc:end-->

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

### ccd-js-gen

- Bump the version in [package.json](./packages/ccd-js-gen/package.json).
- Update the [CHANGELOG](./packages/ccd-js-gen/CHANGELOG.md) describing
the changes made.
- Commit and tag the release.
- Tag should be `ccd-js-gen/x.y.z`.
- Run the deploy workflow.
- Under github actions, run the "deploy" workflow and download the
`build-release` artifact. Unpack this file and use it for the release.
- Publish the release to NPM.
- From the ccd-js-gen package directory (packages/ccd-js-gen) run `yarn npm publish`

## Test

An automatic test suite is part of this project, and it is run by executing:
Expand Down
5 changes: 5 additions & 0 deletions packages/ccd-js-gen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Changelog - ccd-js-gen

## 1.0.0

- Initial release

0 comments on commit 0567c08

Please sign in to comment.