daml/ci/assembly-split-release-artifacts.sh
Moritz Kiefer 0a17087b99
Publish split-release artifacts more granularly (#12072)
This publishes damlc & the Daml libraries as standalone artifacts so
Canton can avoid downloading the whole SDK tarball (hopefully).

changelog_begin
changelog_end
2021-12-09 13:45:58 +01:00

18 lines
456 B
Bash
Executable File

#!/usr/bin/env bash
# Copyright (c) 2021 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
set -euo pipefail
RELEASE_TAG=$1
SOURCE_DIR=$2
OUTPUT_DIR=$3
mkdir -p $OUTPUT_DIR/github
for file in $SOURCE_DIR/github/*; do
# Copy as a placeholder for potential tweaks we might want to do here.
cp $file $OUTPUT_DIR/github
done
cp -r $SOURCE_DIR/split-release $OUTPUT_DIR/split-release