Skip to content

Commit 04788c1

Browse files
committed
ci: Fix broken release preparation
Signed-off-by: Willem Pienaar <git@willem.co>
1 parent f6129b0 commit 04788c1

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.releaserc.js

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,27 +23,30 @@ module.exports = {
2323
branches: possible_branches,
2424
plugins: [
2525
"@semantic-release/commit-analyzer",
26+
["@semantic-release/exec", {
27+
"verifyReleaseCmd": "./infra/scripts/validate-release.sh ${nextRelease.type} " + current_branch,
28+
"prepareCmd": "python ./infra/scripts/version_bump/bump_file_versions.py ${lastRelease.version} ${nextRelease.version}"
29+
}],
2630
"@semantic-release/release-notes-generator",
27-
"@semantic-release/github",
2831
[
2932
"@semantic-release/changelog",
3033
{
31-
changelogFile: "CHANGELOG.md"
34+
changelogFile: "CHANGELOG.md",
35+
changelogTitle: "# Changelog",
3236
}
3337
],
3438
[
3539
"@semantic-release/git",
3640
{
3741
assets: [
38-
"CHANGELOG.md"
42+
"CHANGELOG.md",
43+
"java/pom.xml",
44+
"infra/charts/**/*.*"
3945
],
4046
message: "chore(release): release ${nextRelease.version}\n\n${nextRelease.notes}"
4147
}
4248
],
43-
["@semantic-release/exec", {
44-
"verifyReleaseCmd": "./infra/scripts/validate-release.sh ${nextRelease.type} " + current_branch,
45-
"prepareCmd": "./infra/version_bump/bump_file_versions.py ${lastRelease.version} ${nextRelease.type}"
46-
}]
49+
"@semantic-release/github"
4750
]
4851
}
4952

0 commit comments

Comments
 (0)