mirror of
https://github.com/easingthemes/ssh-deploy
synced 2026-04-05 20:33:01 +08:00
Move major tag update (e.g. v6) into the release workflow as a conditional step, gated on semantic-release actually publishing. This avoids the GITHUB_TOKEN limitation where events from the default token don't trigger separate workflows. Also reverts @semantic-release/github from .releaserc since we no longer rely on the release event to trigger a separate workflow.
23 lines
429 B
Plaintext
23 lines
429 B
Plaintext
{
|
|
"branches": ["main"],
|
|
"plugins": [
|
|
"@semantic-release/commit-analyzer",
|
|
"@semantic-release/release-notes-generator",
|
|
[
|
|
"@semantic-release/changelog",
|
|
{
|
|
"changelogFile": "docs/CHANGELOG.md"
|
|
}
|
|
],
|
|
["@semantic-release/npm", {
|
|
"npmPublish": false
|
|
}],
|
|
[
|
|
"@semantic-release/git",
|
|
{
|
|
"assets": ["docs/CHANGELOG.md", "package.json"]
|
|
}
|
|
]
|
|
]
|
|
}
|