Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .releaserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,10 @@ async function config() {

// Get branch
const branch = ref?.split('/')?.pop()?.split('-')[0] || '(current branch could not be determined)';
// eslint-disable-next-line no-console
console.log(`Running on branch: ${branch}`);

// Set changelog file
const changelogFile = `./changelogs/CHANGELOG_${branch}.md`;
// eslint-disable-next-line no-console
console.log(`Changelog file output to: ${changelogFile}`);

// Load template file contents
Expand Down Expand Up @@ -94,9 +92,9 @@ async function config() {
}],
// Back-merge module runs last because if it fails it should not impede the release process
[
"@saithodev/semantic-release-backmerge",
'@saithodev/semantic-release-backmerge',
{
"backmergeBranches": [
'backmergeBranches': [
// { from: 'beta', to: 'alpha' },
// { from: 'release', to: 'beta' },
{ from: 'release', to: 'alpha' },
Expand Down
Loading