Skip to content

Commit 4c7978f

Browse files
author
QuadStingray
committed
ci: Rebuild only the last 3 Releases
1 parent a1e7bec commit 4c7978f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

build_release.sbt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,15 @@ val gitAddAllTask = ReleaseStep(action = st => {
1313

1414
val generateChangeLog = ReleaseStep(action = st => {
1515
st.log.warn("start generating changelog")
16-
"env DEBUG=\"conventional-github-releaser\"".!!
1716
val response = "conventional-changelog -p conventionalcommits -i CHANGELOG.md -s -r 0 -n ./changelog/config.js".!!
18-
st.log.warn("Output of conventional-changelog" + response)
17+
st.log.warn("Output of conventional-changelog: " + response)
1918
st
2019
})
2120

2221
val addGithubRelease = ReleaseStep(action = st => {
2322
st.log.warn("start github release process")
24-
val response = "conventional-github-releaser -p conventionalcommits -i CHANGELOG.md -s -r 0 -n ./changelog/config.js || true".!!
25-
st.log.warn("Output of conventional-github-releaser" + response)
23+
val response = "DEBUG=conventional-github-releaser conventional-github-releaser -p conventionalcommits -r 3 -n ./changelog/config.js || true".!!
24+
st.log.warn("Output of conventional-github-releaser: " + response)
2625
st
2726
})
2827

0 commit comments

Comments
 (0)