We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe3dc0d commit c312e26Copy full SHA for c312e26
release.config.js
@@ -24,7 +24,7 @@ const templates = {
24
async function config() {
25
26
// Get branch
27
- const branch = ref.split('/').pop();
+ const branch = ref.split('/').pop().split('-')[0];
28
console.log(`Running on branch: ${branch}`);
29
30
// Set changelog file
@@ -36,10 +36,12 @@ async function config() {
36
37
const config = {
38
branches: [
39
- 'release(-[0-9]+\.x\.x)?',
+ 'release',
40
{ name: 'alpha', prerelease: true },
41
{ name: 'beta', prerelease: true },
42
'next-major',
43
+ // Long-Term-Support branches; defined as GLOB pattern
44
+ 'release-+([0-9]).x.x',
45
],
46
dryRun: false,
47
debug: true,
0 commit comments