Skip to content

Commit

Permalink
fix: branch names according to semver spec
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbeckers committed Aug 21, 2024
1 parent 195a0a1 commit f9c6823
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .releaserc.prerelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ branches:
- "+([0-9])?(.{+([0-9]),x}).x"
- main
- name: dev/*
prerelease: '${name.replace(/^dev\//g, "dev-")}'
prerelease: '${name.replace(/^dev\//g, "dev-").replace(/\//g, "-")}'
- name: feature/*
prerelease: '${name.replace(/^feature\//g, "feature-")}'
prerelease: '${name.replace(/^feature\//g, "feature-").replace(/\//g, "-")}'
- name: feat/*
prerelease: '${name.replace(/^feature\//g, "feature-")}'
prerelease: '${name.replace(/^feat\//g, "feature-").replace(/\//g, "-")}'
- name: hotfix/*
prerelease: '${name.replace(/^hotfix\//g, "hotfix-")}'
prerelease: '${name.replace(/^hotfix\//g, "hotfix-").replace(/\//g, "-")}'

0 comments on commit f9c6823

Please sign in to comment.