Skip to content

Commit

Permalink
removed the requirement for the releasing with feat and added the cho…
Browse files Browse the repository at this point in the history
…re(release ) back.
  • Loading branch information
AyushNautiyalDeveloper committed Jul 5, 2024
1 parent 7acb037 commit b44928c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release-with-changesets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ jobs:
# "commits" contains an array of objects where one of the properties is the commit "message"
# Release workflow will be skipped if release conventional commits are not used
if: |
startsWith( github.repository, 'asyncapi/' ) &&
(startsWith( github.event.commits[0].message , 'fix:' ) ||
startsWith( github.event.commits[0].message, 'fix!:' ) ||
startsWith( github.event.commits[0].message, 'feat:' ) ||
startsWith( github.event.commits[0].message, 'feat!:' ))
startsWith( github.repository, 'asyncapi/' )
name: Test NodeJS release on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
Expand Down Expand Up @@ -113,7 +109,7 @@ jobs:
with:
version: npx -p @changesets/cli changeset version
commit: version packages
title: "feat: version packages"
title: "chore(release): version packages"
publish: npx -p @changesets/cli changeset publish
setupGitUser: false
env:
Expand Down

0 comments on commit b44928c

Please sign in to comment.