Skip to content

Commit

Permalink
ci: fix set next version in the release
Browse files Browse the repository at this point in the history
Signed-off-by: Yurii Shynbuiev <yurii.shynbuiev@iohk.io>
  • Loading branch information
yshyn-iohk committed Aug 20, 2024
1 parent d96104b commit a441cf4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions release.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ export default {
"changelogFile": "CHANGELOG.md"
}],
["@semantic-release/exec", {
"prepareCmd": "sbt \"release release-version ${nextRelease.version} next-version ${nextRelease.version}-SNAPSHOT with-defaults\""
"prepareCmd": "sbt \"release release-version ${nextRelease.version} with-defaults\""
}],
["@semantic-release/exec", {
"prepareCmd": "npm version ${nextRelease.version} --git-tag-version false"
}],
["@semantic-release/exec", {
"prepareCmd": "sbt dumpLicenseReportAggregate && cp ./target/license-reports/root-licenses.md ./DEPENDENCIES.md"
"prepareCmd": 'sbt "set ThisBuild / version:=\"${nextRelease.version}\"" "dumpLicenseReportAggregate" && cp ./target/license-reports/root-licenses.md ./DEPENDENCIES.md'
}],
["@semantic-release/exec", {
"prepareCmd": "sed -i.bak \"s/AGENT_VERSION=.*/AGENT_VERSION=${nextRelease.version}/\" ./infrastructure/local/.env && rm -f ./infrastructure/local/.env.bak"
Expand Down
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ThisBuild / version := "1.39.0-SNAPSHOT"
ThisBuild / version := "1.38.0-SNAPSHOT"

0 comments on commit a441cf4

Please sign in to comment.