docs: new branches
option in JS API example
This commit is contained in:
parent
968b9968a1
commit
687fea28f1
@ -12,7 +12,14 @@ const stderrBuffer = WritableStreamBuffer();
|
|||||||
try {
|
try {
|
||||||
const result = await semanticRelease({
|
const result = await semanticRelease({
|
||||||
// Core options
|
// Core options
|
||||||
branch: 'master',
|
branches: [
|
||||||
|
'+([1-9])?(.{+([1-9]),x}).x',
|
||||||
|
'master',
|
||||||
|
'next',
|
||||||
|
'next-major',
|
||||||
|
{name: 'beta', prerelease: true},
|
||||||
|
{name: 'alpha', prerelease: true}
|
||||||
|
],
|
||||||
repositoryUrl: 'https://github.com/me/my-package.git',
|
repositoryUrl: 'https://github.com/me/my-package.git',
|
||||||
// Shareable config
|
// Shareable config
|
||||||
extends: 'my-shareable-config',
|
extends: 'my-shareable-config',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user