From 6317fb1d5c157c547021842535b06e55c4c04752 Mon Sep 17 00:00:00 2001 From: Ivan He Date: Fri, 6 Aug 2021 17:46:49 +0800 Subject: [PATCH] chore: add --allow-branch --- .github/workflows/cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 6ab87be1b5..13ce8e176e 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -97,7 +97,7 @@ jobs: - name: version stable npm packages to npmjs.org if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.preid == 'stable' }} run: | - npx lerna version --conventional-commits --conventional-graduate --no-changelog --yes + npx lerna version --conventional-commits --conventional-graduate --no-changelog --allow-branch ${GITHUB_REF#refs/*/} --yes - name: version change id: version-change