Skip to content

Instantly share code, notes, and snippets.

@antklim
Last active March 14, 2024 04:07
Show Gist options
  • Save antklim/e7324545e9ba3c67ea315193e92a8f79 to your computer and use it in GitHub Desktop.
Save antklim/e7324545e9ba3c67ea315193e92a8f79 to your computer and use it in GitHub Desktop.
branches:
- '+([0-9])?(.{+([0-9]),x}).x' # maintenance branches like 1.x, 2.0.x, etc
- main
- name: beta
prerelease: true
- name: 'feat/*'
channel: 'feat-${name.replace(/^feat\//, "")}' # name is a branch name
prerelease: 'feat-${name.replace(/^feat\//, "")}'
plugins:
- - '@semantic-release/commit-analyzer'
- preset: 'conventionalcommits'
- '@semantic-release/release-notes-generator'
- - '@semantic-release/npm'
- tarballDir: dist
- - '@semantic-release/github'
- successComment: false
failComment: false
assets: 'dist/*.tgz'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment