Skip to content

Commit 6ec1573

Browse files
author
Simon Siedler
committed
ci: Rebuild only the last 3 Releases
1 parent 5e32f3c commit 6ec1573

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

build_release.sbt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@ val generateChangeLog = ReleaseStep(action = st => {
2020

2121
val addGithubRelease = ReleaseStep(action = st => {
2222
st.log.warn("start github release process")
23-
val response = "DEBUG=conventional-github-releaser conventional-github-releaser -p conventionalcommits -r 3 -n ./changelog/config.js || true".!!
23+
var response = ""
24+
try response = "conventional-github-releaser -p conventionalcommits -r 3 -n ./changelog/config.js".!!
25+
catch {
26+
case e: Exception =>
27+
st.log.warn("Catched Exception on generate release notes: " + e.getMessage)
28+
}
2429
st.log.warn("Output of conventional-github-releaser: " + response)
2530
st
2631
})

0 commit comments

Comments
 (0)