Skip to content

Commit

Permalink
chore: replace '_' with '-' during release (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsiemens authored Jul 16, 2024
1 parent f222000 commit d520a84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions release.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ module.exports = {
{
name: 'feat/*',
channel: 'feature',
prerelease: "${name.split('/').slice(1).join('-').toLowerCase()}"
prerelease: "${name.split('/').slice(1).join('-').toLowerCase().replaceAll('_', '-')}"
},
{
name: 'chore/*',
channel: 'chore',
prerelease: "chore-${name.split('/').slice(1).join('-').toLowerCase()}"
prerelease: "chore-${name.split('/').slice(1).join('-').toLowerCase().replaceAll('_', '-')}"
},
{
name: 'fix/*',
channel: 'fix',
prerelease: "fix-${name.split('/').slice(1).join('-').toLowerCase()}"
prerelease: "fix-${name.split('/').slice(1).join('-').toLowerCase().replaceAll('_', '-')}"
},

],
Expand Down

0 comments on commit d520a84

Please sign in to comment.