Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Commit 630dbee

Browse files
authored
Merge pull request #412 from blocto/release/0412
Release: Merge to publish new version to npm
2 parents e1f287d + e4adb79 commit 630dbee

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

.github/workflows/publish.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,18 @@ jobs:
3131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3232
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3333
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
34+
35+
- name: Set version from publishedPackages
36+
id: setVersion
37+
if: steps.changesets.outputs.published == 'true'
38+
env:
39+
PACKAGE_VERSION: ${{ steps.changesets.outputs.publishedPackages }}
40+
run: echo "PACKAGE_VERSION=$(echo $PACKAGE_VERSION | jq -r '.[0].version')" >> $GITHUB_OUTPUT
41+
42+
- name: Trigger example repo github action
43+
if: steps.changesets.outputs.published == 'true'
44+
run: |
45+
curl -H "Authorization: Bearer ${{ secrets.DEV_GITHUB_TOKEN }}" \
46+
-H 'Accept: application/vnd.github.everest-preview+json' \
47+
"https://api.github.com/repos/blocto/blocto-sdk-examples/dispatches" \
48+
-d '{"event_type": "update-package", "client_payload": {"version": "${{ steps.setVersion.outputs.PACKAGE_VERSION }}" }}'

adapters/rainbowkit-connector/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @blocto/rainbowkit-connector
22

3+
## 1.0.0
4+
5+
### Major Changes
6+
7+
- 605ba8d: wagmi and rainbowkit v1 release
8+
39
## 0.2.9
410

511
### Patch Changes

adapters/rainbowkit-connector/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@blocto/rainbowkit-connector",
3-
"version": "0.2.9",
3+
"version": "1.0.0",
44
"description": "blocto wallet connector to use rainbowkit",
55
"author": "Blocto Wallet",
66
"main": "./dist/index.js",

0 commit comments

Comments
 (0)