From 9764d63954f868f36dbcd1d44a95995bee3a211f Mon Sep 17 00:00:00 2001 From: imotai Date: Fri, 28 Jul 2023 19:21:48 +0800 Subject: [PATCH] Fix/fix scroll call contract bug (#591) * feat: add doc store * fix: add test case * fix: add use legacy tx * fix: update the readme * fix: fix the metastore case * fix: add update the npm version --- .github/workflows/sdk_cd.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sdk_cd.yml b/.github/workflows/sdk_cd.yml index baea5dad7..0b29edd02 100644 --- a/.github/workflows/sdk_cd.yml +++ b/.github/workflows/sdk_cd.yml @@ -17,7 +17,10 @@ jobs: node-version: "16.x" - uses: CultureHQ/actions-yarn@v1.0.1 - run: | - cd sdk && yarn && make && yarn build + TAG=${GITHUB_REF/refs\/tags\//} + VERSION=${TAG#*v} + echo ${VERSION} + cd sdk && yarn version --new-version ${VERSION} && yarn && make && yarn build - uses: JS-DevTools/npm-publish@v2 with: token: ${{ secrets.NMP_TOKEN }}