From 1337989219a111c1fad6abe9d0f0e138145317b1 Mon Sep 17 00:00:00 2001 From: kevaundray Date: Tue, 11 Jul 2023 17:25:53 +0100 Subject: [PATCH] chore(ci): Use manifest file to update multiple javascript and c++ versioned artefacts (#593) --- .github/workflows/release-please.yml | 12 +-------- .release-please-manifest.json | 1 + release-please-config.json | 38 ++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+), 11 deletions(-) create mode 100644 .release-please-manifest.json create mode 100644 release-please-config.json diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 60bee547a7..40cf41eeb4 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -15,14 +15,4 @@ jobs: steps: - uses: google-github-actions/release-please-action@v3 with: - release-type: simple - package-name: barretenberg - bump-minor-pre-major: true - bump-patch-for-minor-pre-major: true - prerelease: true # Marks GitHub Releases for 0.x.x versions as "Pre-release" - pull-request-title-pattern: "chore(barretenberg): Release ${version}" - extra-files: | - cpp/CMakeLists.txt - VERSION - barretenberg.nix - barretenberg-wasm.nix + command: manifest diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000000..e539c15c55 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,38 @@ +{ + "release-type": "simple", + "bump-minor-pre-major": true, + "bump-patch-for-minor-pre-major": true, + "prerelease": true, + "bootstrap-sha": "2fa0805c00d1feb0928e5eca1d922a957d79c7fc", + "last-release-sha": "2fa0805c00d1feb0928e5eca1d922a957d79c7fc", + "release-as": "0.3.0", + "group-pull-request-title-pattern": "chore(barretenberg): Release ${version}", + "packages": { + ".": { + "release-type": "simple", + "component": "barretenberg", + "package-name": "barretenberg", + "extra-files" : [ + "cpp/CMakeLists.txt", + "VERSION", + "barretenberg.nix", + "barretenberg-wasm.nix" + ] + }, + "ts": { + "release-type": "node", + "package-name": "barretenberg.js", + "component": "barretenberg.js" + } + }, + "plugins" : [ + { + "type": "linked-versions", + "groupName": "barretenberg", + "components": [ + "barretenberg", + "barretenberg.js" + ] + } + ] +} \ No newline at end of file