docs: new branches option in JS API example

This commit is contained in:
Pierre Vanduynslager
2018-12-11 20:15:07 -05:00
parent 968b9968a1
commit 687fea28f1
+8 -1
View File
@@ -12,7 +12,14 @@ const stderrBuffer = WritableStreamBuffer();
try {
const result = await semanticRelease({
// 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',
// Shareable config
extends: 'my-shareable-config',