From c06c74cc46462967505f59b3e70f426c8ded6d1a Mon Sep 17 00:00:00 2001 From: wenytang-ms Date: Wed, 23 Jun 2021 21:11:26 +0800 Subject: [PATCH] chore: add no change lon on cd --- .github/workflows/cd.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 2e70d2f044..efb1e2aaf3 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -105,22 +105,22 @@ jobs: - name: release rc npm packages to npmjs.org if: ${{ github.event_name == 'workflow_dispatch' && startsWith(github.event.inputs.version, 'pre') && github.event.inputs.conventional-commits == 'no'}} run: | - npx lerna publish --no-private --preid=${{ github.event.inputs.preid }} --dist-tag=${{ github.event.inputs.preid }} ${{ github.event.inputs.version }} --yes ${{ github.event.inputs.force }} + npx lerna publish --no-private --preid=${{ github.event.inputs.preid }} --dist-tag=${{ github.event.inputs.preid }} ${{ github.event.inputs.version }} --no-changelog --yes ${{ github.event.inputs.force }} - name: release stable npm packages to npmjs.org if: ${{ github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main' && !startsWith(github.event.inputs.version, 'pre') && github.event.inputs.conventional-commits == 'no'}} run: | - npx lerna publish --no-private --dist-tag=latest ${{ github.event.inputs.version }} --yes ${{ github.event.inputs.force }} + npx lerna publish --no-private --dist-tag=latest ${{ github.event.inputs.version }} --no-changelog --yes ${{ github.event.inputs.force }} - name: release rc npm packages to npmjs.org by conventional-commits if: ${{ github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main' && github.event.inputs.conventional-commits == 'yes' && github.event.inputs.preid == 'rc'}} run: | - npx lerna publish --conventional-prerelease --preid=rc --yes + npx lerna publish --conventional-prerelease --preid=rc --no-changelog --yes - name: release stable npm packages to npmjs.org by conventional-commits if: ${{ github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main' && github.event.inputs.conventional-commits == 'yes' && github.event.inputs.preid == 'stable'}} run: | - npx lerna publish --conventional-graduate --yes + npx lerna publish --conventional-graduate --no-changelog --yes - name: pack vsix id: pack-vsix