From 24168e42f15d5e7f0afd44293110847d87b21fec Mon Sep 17 00:00:00 2001 From: d1onys1us <13951458+d1onys1us@users.noreply.github.com> Date: Mon, 13 May 2024 18:53:17 -0400 Subject: [PATCH] fix(bridge-ui): fix changelog and deployment (#17144) --- .github/workflows/bridge-ui.yml | 9 ++++++--- .release-please-manifest.json | 2 +- packages/bridge-ui/CHANGELOG.md | 7 ------- packages/bridge-ui/package.json | 2 +- 4 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/bridge-ui.yml b/.github/workflows/bridge-ui.yml index afcf45ffb2..cd3764591f 100644 --- a/.github/workflows/bridge-ui.yml +++ b/.github/workflows/bridge-ui.yml @@ -3,9 +3,12 @@ name: Bridge UI CI/CD on: push: branches-ignore: + - main - release-please-* paths: - "packages/bridge-ui/**" + tags: + - "bridge-ui-v*" pull_request: paths: - "packages/bridge-ui/**" @@ -16,7 +19,7 @@ jobs: # Deployment name follow the pattern: deploy___ deploy_bridge-ui_hekla_preview: - if: ${{ github.ref_name != 'main' }} + if: ${{ github.ref_type != 'tag' }} needs: build-and-test uses: ./.github/workflows/vercel-deploy.yml with: @@ -28,7 +31,7 @@ jobs: vercel_token: ${{ secrets.VERCEL_TOKEN }} deploy_bridge-ui_devnet_preview: - if: ${{ github.ref_name != 'main' }} + if: ${{ github.ref_type != 'tag' }} needs: build-and-test uses: ./.github/workflows/vercel-deploy.yml with: @@ -40,7 +43,7 @@ jobs: vercel_token: ${{ secrets.VERCEL_TOKEN }} deploy_bridge-ui_hekla_production: - if: ${{ contains(github.ref, 'refs/tags/bridge-ui-') }} + if: ${{ startsWith(github.ref, 'refs/tags/bridge-ui-v') }} needs: build-and-test uses: ./.github/workflows/vercel-deploy.yml with: diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 8fb397f7ea..cbfefaabf0 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,7 +1,7 @@ { "packages/blobstorage": "0.1.0", "packages/branding": "0.4.0", - "packages/bridge-ui": "2.10.1", + "packages/bridge-ui": "2.10.0", "packages/docs-site": "1.0.0", "packages/eventindexer": "0.13.0", "packages/fork-diff": "0.4.0", diff --git a/packages/bridge-ui/CHANGELOG.md b/packages/bridge-ui/CHANGELOG.md index fdb3ccabe7..60b38d0bb7 100644 --- a/packages/bridge-ui/CHANGELOG.md +++ b/packages/bridge-ui/CHANGELOG.md @@ -1,12 +1,5 @@ # Changelog -## [2.10.1](https://github.com/taikoxyz/taiko-mono/compare/bridge-ui-v2.10.0...bridge-ui-v2.10.1) (2024-05-13) - - -### Bug Fixes - -* **bridge-ui:** fix changelog and deployment ([#17141](https://github.com/taikoxyz/taiko-mono/issues/17141)) ([809707d](https://github.com/taikoxyz/taiko-mono/commit/809707d7cebdfc0af253ab54ea2c1503ae02ab0e)) - ## [2.10.0](https://github.com/taikoxyz/taiko-mono/compare/bridge-ui-v2.9.3...bridge-ui-v2.10.0) (2024-05-13) diff --git a/packages/bridge-ui/package.json b/packages/bridge-ui/package.json index f154f4e3c6..3b82da3b67 100644 --- a/packages/bridge-ui/package.json +++ b/packages/bridge-ui/package.json @@ -1,6 +1,6 @@ { "name": "bridge-ui", - "version": "2.10.1", + "version": "2.10.0", "private": true, "scripts": { "dev": "vite dev",