From 0567c0816efb569db30ee883ed5ad3a99c07363b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emil=20Holm=20Gj=C3=B8rup?= Date: Thu, 19 Oct 2023 14:43:49 +0200 Subject: [PATCH] Prepare for release of ccd-js-gen --- .github/workflows/deployment.yml | 2 ++ .github/workflows/pipeline.yml | 2 +- README.md | 14 ++++++++++++++ packages/ccd-js-gen/CHANGELOG.md | 5 +++++ 4 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 packages/ccd-js-gen/CHANGELOG.md diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 8d3187ba1..cdf1ea901 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -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 diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 4eac35d50..597163c81 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -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 diff --git a/README.md b/README.md index ca9bd7ec0..8095cfa3e 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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: diff --git a/packages/ccd-js-gen/CHANGELOG.md b/packages/ccd-js-gen/CHANGELOG.md new file mode 100644 index 000000000..742dacb59 --- /dev/null +++ b/packages/ccd-js-gen/CHANGELOG.md @@ -0,0 +1,5 @@ +# Changelog - ccd-js-gen + +## 1.0.0 + +- Initial release