From 256c0a2e28c9720a9cac496e528ab5e02eb750a9 Mon Sep 17 00:00:00 2001 From: Yurii Shynbuiev Date: Tue, 20 Aug 2024 17:21:31 +0700 Subject: [PATCH] ci: fix release flow Signed-off-by: Yurii Shynbuiev --- release.config.mjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/release.config.mjs b/release.config.mjs index 25bdb169b7..2933b4e2a7 100644 --- a/release.config.mjs +++ b/release.config.mjs @@ -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" }], @@ -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" }],