Skip to content

Commit

Permalink
ci: fix release flow
Browse files Browse the repository at this point in the history
Signed-off-by: Yurii Shynbuiev <[email protected]>
  • Loading branch information
yshyn-iohk committed Aug 20, 2024
1 parent 3e74987 commit 256c0a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions release.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ export default {
],
plugins: [
'@semantic-release/commit-analyzer',
["@semantic-release/exec", {
"prepareCmd": "docker buildx build --platform=linux/arm64,linux/amd64 --push -t ghcr.io/hyperledger/identus-cloud-agent:${nextRelease.version} ./cloud-agent/service/server/target/docker/stage"
}],
["@semantic-release/exec", {
"prepareCmd": "echo ${nextRelease.version} > .release-version"
}],
Expand All @@ -25,6 +22,9 @@ export default {
["@semantic-release/exec", {
"prepareCmd": 'sbt "set ThisBuild / version:=\"${nextRelease.version}\"" "dumpLicenseReportAggregate" && cp ./target/license-reports/root-licenses.md ./DEPENDENCIES.md'
}],
["@semantic-release/exec", {
"prepareCmd": "docker buildx build --platform=linux/arm64,linux/amd64 --push -t ghcr.io/hyperledger/identus-cloud-agent:${nextRelease.version} ./cloud-agent/service/server/target/docker/stage"
}],
["@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

0 comments on commit 256c0a2

Please sign in to comment.