Skip to content

Commit

Permalink
chore: add no change lon on cd
Browse files Browse the repository at this point in the history
  • Loading branch information
wenytang-ms committed Jun 23, 2021
1 parent e2bbc5f commit c06c74c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c06c74c

Please sign in to comment.