ci: set defaultBranch

This commit is contained in:
Derrick Hammer 2024-01-11 21:09:21 -05:00
parent 444de35e31
commit 959005f29c
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
2 changed files with 19 additions and 92 deletions

View File

@ -1,76 +0,0 @@
{
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"releaseRules": [
{
"breaking": true,
"release": "major"
},
{
"revert": true,
"release": "patch"
},
{
"type": "feat",
"release": "minor"
},
{
"type": "fix",
"release": "patch"
},
{
"type": "perf",
"release": "patch"
},
{
"type": "dep",
"release": "patch"
},
{
"type": "deps",
"release": "patch"
},
{
"type": "refactor",
"release": "patch"
}
]
}
],
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
[
"@semantic-release/git",
{
"assets": [
"package.json",
"CHANGELOG.md"
]
}
]
],
"branches": [
"master",
{
"name": "develop",
"prerelease": true
},
{
"name": "develop-*",
"prerelease": true
}
]
}

View File

@ -1,19 +1,22 @@
{ {
"plugins": { "plugins": {
"commit-analyzer": { "commit-analyzer": {
"name": "default@^1.0.0" "name": "default@^1.0.0"
}, },
"ci-condition": { "ci-condition": {
"name": "github" "name": "github",
}, "options": {
"changelog-generator": { "defaultBranch": "*"
"name": "default", }
"options": { },
"emojis": "true" "changelog-generator": {
} "name": "default",
}, "options": {
"provider": { "emojis": "true"
"name": "github" }
},
"provider": {
"name": "github"
}
} }
}
} }