From 5e8d9e13ecc272d507e11647287c5c85739776c1 Mon Sep 17 00:00:00 2001 From: Jonathan Bursztyn Date: Tue, 12 Sep 2023 15:00:52 +0100 Subject: [PATCH 1/2] Add abi_wasm to release-please --- .../workflows/{release-abi_wasm.yml => publish-abi_wasm.yml} | 3 ++- release-please-config.json | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) rename .github/workflows/{release-abi_wasm.yml => publish-abi_wasm.yml} (96%) diff --git a/.github/workflows/release-abi_wasm.yml b/.github/workflows/publish-abi_wasm.yml similarity index 96% rename from .github/workflows/release-abi_wasm.yml rename to .github/workflows/publish-abi_wasm.yml index 07cccba568b..fd0041079fb 100644 --- a/.github/workflows/release-abi_wasm.yml +++ b/.github/workflows/publish-abi_wasm.yml @@ -1,7 +1,8 @@ -name: Release ABI Wasm +name: Publish ABI Wasm on: workflow_dispatch: + # tags: jobs: noirc-abi-wasm-build: diff --git a/release-please-config.json b/release-please-config.json index 14558039a6e..e06379f5ae7 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -17,6 +17,11 @@ "type": "json", "path": "compiler/wasm/package.json", "jsonpath": "$.version" + }, + { + "type": "json", + "path": "tooling/noirc_abi_wasm/package.json", + "jsonpath": "$.version" } ] } From 87bf3f2fcf044cc56c41d4d652e0e4c02caa396f Mon Sep 17 00:00:00 2001 From: Jonathan Bursztyn Date: Tue, 12 Sep 2023 15:33:01 +0100 Subject: [PATCH 2/2] Adds auto-run when there's a new tag --- .github/workflows/publish-abi_wasm.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-abi_wasm.yml b/.github/workflows/publish-abi_wasm.yml index fd0041079fb..e7167c681c5 100644 --- a/.github/workflows/publish-abi_wasm.yml +++ b/.github/workflows/publish-abi_wasm.yml @@ -1,8 +1,10 @@ name: Publish ABI Wasm on: + push: + tags: + - "*" workflow_dispatch: - # tags: jobs: noirc-abi-wasm-build: