Skip to content

Commit

Permalink
semantic pipeline test
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmu committed Oct 11, 2024
1 parent c778619 commit 174e3f6
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/publish-vscode-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,17 @@ jobs:
node-version: 20
- run: npm ci
- name: Semantic Release
run: npx semantic-release
id: semantic
uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Force patch bump if no release
if: steps.semantic.outputs.new_release_published != 'true'
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
npm version patch -m "chore(release): bump version to %s [skip ci]"
git push --follow-tags
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit 174e3f6

Please sign in to comment.