From 9517f2b96f810139a14ad5522dbb3bb3730505cd Mon Sep 17 00:00:00 2001 From: Alistair Singh Date: Thu, 4 Apr 2024 00:25:49 +0200 Subject: [PATCH] on release --- .github/workflows/npm-publish.yml | 2 ++ web/packages/api/package.json | 2 +- web/packages/contract-types/package.json | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 61b065b7a2..aad688a8e0 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -13,6 +13,8 @@ on: - "contracts/src/**/*.sol" - "web/**" - "!web/packages/test*" + release: + types: [published] env: NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} diff --git a/web/packages/api/package.json b/web/packages/api/package.json index c0c2e737d5..70d2004117 100644 --- a/web/packages/api/package.json +++ b/web/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@snowbridge/api", - "version": "0.1.0", + "version": "0.1.1", "description": "Snowbridge API client", "license": "Apache-2.0", "repository": { diff --git a/web/packages/contract-types/package.json b/web/packages/contract-types/package.json index b07da6c7cd..4834518cd4 100644 --- a/web/packages/contract-types/package.json +++ b/web/packages/contract-types/package.json @@ -1,6 +1,6 @@ { "name": "@snowbridge/contract-types", - "version": "0.1.0", + "version": "0.1.1", "description": "Snowbridge contract type bindings", "license": "Apache-2.0", "repository": {