Skip to content

Commit

Permalink
perf: tech release
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed May 9, 2022
1 parent 4a0903f commit 5078ed5
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ jobs:
GIT_COMMITTER_EMAIL: '[email protected]'
GIT_AUTHOR_NAME: '@qiwibot'
GIT_COMMITTER_NAME: '@qiwibot'
run: npx -p @qiwi/semrel-toolkit semantic-release -e @qiwi/semrel-config
run: npx -p @qiwi/semrel-toolkit semantic-release
53 changes: 53 additions & 0 deletions .releaserc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
module.exports = {
branch: 'master',
plugins: [
[
'@qiwi/semrel-metabranch',
{
publish: {
action: 'push',
branch: 'gh-pages',
from: './docs',
to: './',
message: 'update docs ${nextRelease.gitTag}',
}
}
],
[
'@semantic-release/commit-analyzer',
{
preset: 'angular',
releaseRules: [
{type: 'docs', release: 'patch'},
{type: 'doc', release: 'patch'},
{type: 'refactor', release: 'patch'},
],
parserOpts: {
noteKeywords: ['BREAKING CHANGE', 'BREAKING CHANGES']
}
}
],
'@semantic-release/release-notes-generator',
'@semantic-release/changelog',
'@semrel-extra/npm',
[
'@semantic-release/exec',
{
prepareCmd: 'YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install && git add yarn.lock'
}
],
[
'@semantic-release/github',
{
successComment: false,
failComment: false
}
],
[
'@semantic-release/git',
{
message: 'chore(release): ${nextRelease.gitTag} [skip ci]\n\n${nextRelease.notes}'
}
]
]
}

0 comments on commit 5078ed5

Please sign in to comment.