From 6909e87628adcd364ec7f9b4117aa74d0e0fc469 Mon Sep 17 00:00:00 2001 From: zoomchan-cxj Date: Wed, 7 Dec 2022 18:54:16 +0800 Subject: [PATCH] ci(workflows): fix js release issue --- .github/workflows/project_artifact_release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/project_artifact_release.yml b/.github/workflows/project_artifact_release.yml index 83404f4a2ae..6c9199b8d3c 100644 --- a/.github/workflows/project_artifact_release.yml +++ b/.github/workflows/project_artifact_release.yml @@ -191,8 +191,7 @@ jobs: env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: | - echo "released js_npm_dist_tag_name is '${{ github.event.inputs.js_npm_dist_tag_name }}'" - npx lerna publish from-package --ignore-scripts --yes --dist-tag ${{ github.event.inputs.js_npm_dist_tag_name }} + lerna publish from-package --ignore-scripts --yes --dist-tag ${{ github.event.inputs.js_npm_dist_tag_name }} - name: Change tag to latest if: github.event.inputs.is_npm_version_to_latest_tag == 'true' env: