gitea port
This commit is contained in:
+30
-37
@@ -8,46 +8,45 @@
|
||||
],
|
||||
"plugins": [
|
||||
[
|
||||
"@semantic-release/commit-analyzer", {
|
||||
"@semantic-release/commit-analyzer",
|
||||
{
|
||||
"releaseRules": [
|
||||
{ "type": "fix", "release": "patch" },
|
||||
{ "type": "feat", "release": "minor" },
|
||||
{ "type": "bump", "release": "patch" },
|
||||
{ "type": "perf", "release": "patch" },
|
||||
{ "type": "build", "scope": "Needs bump", "release": "patch" }
|
||||
{ "type": "fix", "release": "patch" },
|
||||
{ "type": "feat", "release": "minor" },
|
||||
{ "type": "bump", "release": "patch" },
|
||||
{ "type": "perf", "release": "patch" },
|
||||
{ "type": "build", "scope": "Needs bump", "release": "patch" }
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
[
|
||||
"@semantic-release/release-notes-generator", {
|
||||
"@semantic-release/release-notes-generator",
|
||||
{
|
||||
"preset": "conventionalcommits",
|
||||
"presetConfig": {
|
||||
"types": [
|
||||
{ "type": "fix", "section": "🐛 Bug Fixes", "hidden": false },
|
||||
{ "type": "feat", "section": "✨ New Features", "hidden": false },
|
||||
{ "type": "bump", "section": "🚀 Updated App Support", "hidden": false },
|
||||
{ "type": "perf", "section": "🔧 Improvements", "hidden": false },
|
||||
{ "type": "build", "hidden": true }
|
||||
]
|
||||
}
|
||||
"types": [
|
||||
{ "type": "fix", "section": "🐛 Bug Fixes", "hidden": false },
|
||||
{ "type": "feat", "section": "✨ New Features", "hidden": false },
|
||||
{ "type": "bump", "section": "🚀 Updated App Support", "hidden": false },
|
||||
{ "type": "perf", "section": "🔧 Improvements", "hidden": false },
|
||||
{ "type": "build", "hidden": true }
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
[
|
||||
"@MorpheApp/changelog", {
|
||||
"releaseJson": {
|
||||
"path": "patches-bundle.json",
|
||||
"downloadUrlTemplate": "https://github.com/${owner}/${repo}/releases/download/v${version}/patches-${version}.mpp",
|
||||
"signatureUrlTemplate": ""
|
||||
}
|
||||
"./.gitea/scripts/morphe-release.cjs",
|
||||
{
|
||||
"changelogFile": "CHANGELOG.md",
|
||||
"releaseJsonPath": "patches-bundle.json",
|
||||
"assetDirectory": "patches/build/libs"
|
||||
}
|
||||
],
|
||||
"gradle-semantic-release-plugin",
|
||||
[
|
||||
"@semantic-release/exec",
|
||||
{
|
||||
"prepareCmd": "./gradlew generatePatchesList \
|
||||
&& jq '.version=\"${nextRelease.version}\"' patches-list.json > patches-list.json.tmp && mv patches-list.json.tmp patches-list.json \
|
||||
&& python3 .github/scripts/generate_patches_readme.py $GITHUB_REPOSITORY $GITHUB_REF_NAME patches-list.json README.md"
|
||||
"prepareCmd": "./gradlew generatePatchesList && jq '.version=\"${nextRelease.version}\"' patches-list.json > patches-list.json.tmp && mv patches-list.json.tmp patches-list.json && python3 .gitea/scripts/generate_patches_readme.py \"$GITEA_URL\" \"$GITEA_REPOSITORY\" \"$GITEA_REF_NAME\" patches-list.json README.md"
|
||||
}
|
||||
],
|
||||
[
|
||||
@@ -63,21 +62,15 @@
|
||||
"message": "chore: Release v${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
||||
}
|
||||
],
|
||||
[
|
||||
"@semantic-release/github",
|
||||
{
|
||||
"assets": [
|
||||
{
|
||||
"path": "patches/build/libs/patches-!(*sources*|*javadoc*).mpp?(.asc)"
|
||||
}
|
||||
],
|
||||
"successComment": false
|
||||
}
|
||||
],
|
||||
[
|
||||
"@cleyrop-org/semantic-release-backmerge",
|
||||
{
|
||||
"backmergeBranches": [{"from": "main", "to": "dev"}],
|
||||
"backmergeBranches": [
|
||||
{
|
||||
"from": "main",
|
||||
"to": "dev"
|
||||
}
|
||||
],
|
||||
"clearWorkspace": true
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user