mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
f6d471eacc
The installer is now created in the assembly repo. Keeping the code around here is just confusing. Note that this should not impact our ability to publish patch releases on pre-2.0 versions, as all of the files involved are non-yml. CHANGELOG_BEGIN CHANGELOG_END
21 lines
765 B
Bash
Executable File
21 lines
765 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright (c) 2022 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
set -eou pipefail
|
|
|
|
RELEASE_TAG=$1
|
|
OUTPUT_DIR=$2
|
|
SPLIT_RELEASE=${3:-false}
|
|
|
|
mkdir -p $OUTPUT_DIR/github
|
|
mkdir -p $OUTPUT_DIR/artifactory
|
|
mkdir -p $OUTPUT_DIR/split-release
|
|
|
|
TARBALL=daml-sdk-$RELEASE_TAG-windows.tar.gz
|
|
EE_TARBALL=daml-sdk-$RELEASE_TAG-windows-ee.tar.gz
|
|
cp bazel-bin/release/sdk-release-tarball-ce.tar.gz "$OUTPUT_DIR/github/$TARBALL"
|
|
# Used for the non-split release process.
|
|
cp bazel-bin/release/sdk-release-tarball-ee.tar.gz "$OUTPUT_DIR/artifactory/$EE_TARBALL"
|
|
# Used for the split release process.
|
|
cp bazel-bin/release/sdk-release-tarball-ee.tar.gz "$OUTPUT_DIR/split-release/$EE_TARBALL"
|