CI / changes (push) Successful in 7s
CI / commitlint (push) Has been skipped
CI / openapi (push) Has been skipped
CI / web (push) Successful in 30s
CI / go (push) Successful in 25s
CI / bird2 (push) Successful in 15s
CI / release (push) Successful in 19s
- Replaced `@semantic-release/git` with `@semantic-release/exec` for handling release commands. - Updated `.releaserc.json` to reflect changes in release command execution. - Modified CI workflow to streamline the release process, including tagging and Docker image publishing. - Removed obsolete publish workflow and integrated its functionality into the main CI workflow. - Enhanced documentation to clarify the new release process and CI pipeline structure.
49 lines
1.0 KiB
JSON
49 lines
1.0 KiB
JSON
{
|
|
"branches": ["main", "master"],
|
|
"tagFormat": "v${version}",
|
|
"plugins": [
|
|
[
|
|
"@semantic-release/commit-analyzer",
|
|
{
|
|
"preset": "conventionalcommits",
|
|
"releaseRules": [
|
|
{ "type": "feat", "release": "minor" },
|
|
{ "type": "fix", "release": "patch" },
|
|
{ "type": "perf", "release": "patch" },
|
|
{ "breaking": true, "release": "major" }
|
|
]
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/release-notes-generator",
|
|
{
|
|
"preset": "conventionalcommits"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/changelog",
|
|
{
|
|
"changelogFile": "CHANGELOG.md"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/exec",
|
|
{
|
|
"successCmd": "echo ${nextRelease.version} > .release-version"
|
|
}
|
|
],
|
|
[
|
|
"@markwylde/semantic-release-gitea",
|
|
{
|
|
"giteaUrl": "https://git.shts.su",
|
|
"assets": [
|
|
{
|
|
"path": "CHANGELOG.md",
|
|
"label": "Changelog"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|