From be08fa92f95a913c10bd42eab7c4f40c44b7892a Mon Sep 17 00:00:00 2001 From: Saad Ahmed <48211799+saadjhk@users.noreply.github.com> Date: Tue, 13 Aug 2024 17:54:13 +0200 Subject: [PATCH] chore: trigger releases for core, evm and substrate (#426) ## Description ## Related Issue Or Context Closes: # ## How Has This Been Tested? Testing details. ## Types of changes - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation ## Checklist: - [ ] I have commented my code, particularly in hard-to-understand areas. - [ ] I have ensured that all acceptance criteria (or expected behavior) from issue are met - [ ] I have updated the documentation locally and in chainbridge-docs. - [ ] I have added tests to cover my changes. - [ ] I have ensured that all the checks are passing and green, I've signed the CLA bot --- .github/workflows/release-core.yml | 18 +++++++++--------- .github/workflows/release-evm.yml | 18 +++++++++--------- .github/workflows/release-substrate.yml | 18 +++++++++--------- packages/core/package.json | 2 +- packages/evm/package.json | 2 +- packages/substrate/package.json | 2 +- 6 files changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/release-core.yml b/.github/workflows/release-core.yml index a878bda36..f6e98fe3a 100644 --- a/.github/workflows/release-core.yml +++ b/.github/workflows/release-core.yml @@ -2,8 +2,8 @@ name: Publish Sygma SDK to GitHub Package Registry on: push: - branches: ['main'] - paths: ['packages/core/**'] + branches: ["main"] + paths: ["packages/core/**"] jobs: maybe-release: @@ -11,8 +11,8 @@ jobs: runs-on: ubuntu-latest if: github.event_name == 'push' && github.ref == 'refs/heads/main' steps: - # you should probably do this after your regular CI checks passes - # it will analyze commits and create PR with new version and updated CHANGELOG:md file. On merging it will create github release page with changelog + # you should probably do this after your regular CI checks passes + # it will analyze commits and create PR with new version and updated CHANGELOG:md file. On merging it will create github release page with changelog - uses: google-github-actions/release-please-action@v3 id: release with: @@ -30,10 +30,10 @@ jobs: - uses: actions/setup-node@v4 with: - cache: 'yarn' + cache: "yarn" node-version: 18 - registry-url: 'https://registry.npmjs.org' - scope: '@buildwithsygma' + registry-url: "https://registry.npmjs.org" + scope: "@buildwithsygma" env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} if: ${{ steps.release.outputs.releases_created }} @@ -46,10 +46,10 @@ jobs: run: yarn install --immutable if: ${{ steps.release.outputs.releases_created }} - - run: yarn core:build + - run: yarn build if: ${{ steps.release.outputs.releases_created }} - run: npm publish --workspace=@buildwithsygma/core publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - if: ${{ steps.release.outputs.releases_created }} \ No newline at end of file + if: ${{ steps.release.outputs.releases_created }} diff --git a/.github/workflows/release-evm.yml b/.github/workflows/release-evm.yml index 4b1c713b9..24340c412 100644 --- a/.github/workflows/release-evm.yml +++ b/.github/workflows/release-evm.yml @@ -2,8 +2,8 @@ name: Publish Sygma SDK EVM package to GitHub Package Registry on: push: - branches: ['main'] - paths: ['packages/evm/**'] + branches: ["main"] + paths: ["packages/evm/**"] jobs: maybe-release: @@ -11,8 +11,8 @@ jobs: runs-on: ubuntu-latest if: github.event_name == 'push' && github.ref == 'refs/heads/main' steps: - # you should probably do this after your regular CI checks passes - # it will analyze commits and create PR with new version and updated CHANGELOG:md file. On merging it will create github release page with changelog + # you should probably do this after your regular CI checks passes + # it will analyze commits and create PR with new version and updated CHANGELOG:md file. On merging it will create github release page with changelog - uses: google-github-actions/release-please-action@v3 id: release with: @@ -30,10 +30,10 @@ jobs: - uses: actions/setup-node@v4 with: - cache: 'yarn' + cache: "yarn" node-version: 18 - registry-url: 'https://registry.npmjs.org' - scope: '@buildwithsygma' + registry-url: "https://registry.npmjs.org" + scope: "@buildwithsygma" env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} if: ${{ steps.release.outputs.releases_created }} @@ -46,10 +46,10 @@ jobs: run: yarn install --immutable if: ${{ steps.release.outputs.releases_created }} - - run: yarn evm:build + - run: yarn build if: ${{ steps.release.outputs.releases_created }} - run: npm publish --workspace=@buildwithsygma/evm publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - if: ${{ steps.release.outputs.releases_created }} \ No newline at end of file + if: ${{ steps.release.outputs.releases_created }} diff --git a/.github/workflows/release-substrate.yml b/.github/workflows/release-substrate.yml index fb5ac125e..27019b23d 100644 --- a/.github/workflows/release-substrate.yml +++ b/.github/workflows/release-substrate.yml @@ -2,8 +2,8 @@ name: Publish Sygma SDK Subsrate package to GitHub Package Registry on: push: - branches: ['main'] - paths: ['packages/substrate/**'] + branches: ["main"] + paths: ["packages/substrate/**"] jobs: maybe-release: @@ -11,8 +11,8 @@ jobs: runs-on: ubuntu-latest if: github.event_name == 'push' && github.ref == 'refs/heads/main' steps: - # you should probably do this after your regular CI checks passes - # it will analyze commits and create PR with new version and updated CHANGELOG:md file. On merging it will create github release page with changelog + # you should probably do this after your regular CI checks passes + # it will analyze commits and create PR with new version and updated CHANGELOG:md file. On merging it will create github release page with changelog - uses: google-github-actions/release-please-action@v3 id: release with: @@ -30,10 +30,10 @@ jobs: - uses: actions/setup-node@v4 with: - cache: 'yarn' + cache: "yarn" node-version: 18 - registry-url: 'https://registry.npmjs.org' - scope: '@buildwithsygma' + registry-url: "https://registry.npmjs.org" + scope: "@buildwithsygma" env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} if: ${{ steps.release.outputs.releases_created }} @@ -46,10 +46,10 @@ jobs: run: yarn install --immutable if: ${{ steps.release.outputs.releases_created }} - - run: yarn substrate:build + - run: yarn build if: ${{ steps.release.outputs.releases_created }} - run: npm publish --workspace=@buildwithsygma/substrate publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - if: ${{ steps.release.outputs.releases_created }} \ No newline at end of file + if: ${{ steps.release.outputs.releases_created }} diff --git a/packages/core/package.json b/packages/core/package.json index 83081b4cb..8d8231746 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@buildwithsygma/core", - "version": "0.0.1", + "version": "1.0.0", "description": "Core primitives for bridging and message passing", "main": "dist-esm/index.js", "types": "types/index.d.ts", diff --git a/packages/evm/package.json b/packages/evm/package.json index b4a8b7da6..dad52f7c3 100644 --- a/packages/evm/package.json +++ b/packages/evm/package.json @@ -1,6 +1,6 @@ { "name": "@buildwithsygma/evm", - "version": "0.0.1", + "version": "1.0.0", "description": "Core primitives for bridging and message passing", "main": "dist-esm/index.js", "types": "types/index.d.ts", diff --git a/packages/substrate/package.json b/packages/substrate/package.json index 84b2cb6ef..74b3c58a0 100644 --- a/packages/substrate/package.json +++ b/packages/substrate/package.json @@ -1,6 +1,6 @@ { "name": "@buildwithsygma/substrate", - "version": "0.0.1", + "version": "1.0.0", "description": "Core primitives for bridging and message passing", "main": "dist-esm/index.js", "types": "types/index.d.ts",