mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-21 09:48:35 +03:00
4458a81e83
* Extract codegen-common module, #166 * Scala Codegen Main using the same option parser as Java Codegen, #166 There is one important difference, Scala Codegen does not allow mapping dars to different package names, all dars have to be mapped to the same package name. Replace Scala Codegen println's with scala logging, respecting the configured codegen verbosity * Fix bazel formatting * Update the release dry run script * Releasing codegen-common * Improving Scala Codegen error reporting (code review) * Addressing codereview comments * Make it explicit that we skip not supported option
13 lines
578 B
Bash
Executable File
13 lines
578 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# run a dry release, binaries deployed to a local directory, see `release_dir` definition below
|
|
# this script tested on Linux, don't know if it works on macOS. Feel free to make corresponding changes
|
|
|
|
set -eux
|
|
|
|
release_dir=/var/tmp/daml-bintray-release
|
|
|
|
rm -rf "$release_dir" && bazel build //release:release && ./bazel-out/k8-fastbuild/bin/release/release --artifacts release/artifacts.yaml --release-dir "$release_dir"
|