From 67f214b1d1a945d71a1a18b46804c0143ff33da7 Mon Sep 17 00:00:00 2001 From: Moritz Kiefer Date: Tue, 15 Feb 2022 09:53:15 +0100 Subject: [PATCH] Fix daml script reference in copy-unix-release-artifacts (#12933) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I also changed CI config so we run this on every build but only upload on releases. That should hopefully make sure we catch this immediately next time. The script is fast enough that this shouldn’t slow this down meaningfully. changelog_begin changelog_end --- ci/build-unix.yml | 3 --- ci/copy-unix-release-artifacts.sh | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/ci/build-unix.yml b/ci/build-unix.yml index 459ee8c060..449217193c 100644 --- a/ci/build-unix.yml +++ b/ci/build-unix.yml @@ -86,9 +86,6 @@ steps: env: DAML_SDK_RELEASE_VERSION: ${{parameters.release_tag}} name: publish - condition: and(succeeded(), - eq(${{parameters.is_release}}, 'true'), - eq(variables['Build.SourceBranchName'], 'main')) - task: PublishPipelineArtifact@0 inputs: targetPath: $(Build.StagingDirectory)/release diff --git a/ci/copy-unix-release-artifacts.sh b/ci/copy-unix-release-artifacts.sh index c139ebe6e2..5945442db4 100755 --- a/ci/copy-unix-release-artifacts.sh +++ b/ci/copy-unix-release-artifacts.sh @@ -56,8 +56,8 @@ if [[ "$NAME" == "linux" ]]; then cp bazel-bin/triggers/runner/trigger-runner_deploy.jar $OUTPUT_DIR/artifactory/$TRIGGER SCRIPT=daml-script-$RELEASE_TAG.jar - bazel build //daml-script/runner:script-runner_deploy.jar - cp bazel-bin/daml-script/runner/script-runner_deploy.jar $OUTPUT_DIR/artifactory/$SCRIPT + bazel build //daml-script/runner:daml-script-binary_deploy.jar + cp bazel-bin/daml-script/runner/daml-script-binary_deploy.jar $OUTPUT_DIR/artifactory/$SCRIPT NON_REPUDIATION=non-repudiation-$RELEASE_TAG-ee.jar bazel build //runtime-components/non-repudiation-app:non-repudiation-app_deploy.jar