mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-08 21:34:22 +03:00
fix release script again (#18582)
This commit is contained in:
parent
5e8065d9d6
commit
888a639953
@ -27,7 +27,7 @@ bazel build //compiler/damlc:damlc-dist
|
||||
cp bazel-bin/compiler/damlc/damlc-dist.tar.gz $OUTPUT_DIR/split-release/damlc-$RELEASE_TAG-$NAME.tar.gz
|
||||
|
||||
# Platform independent artifacts are only built on Linux.
|
||||
if [[ "$NAME" == "linux" ]]; then
|
||||
if [[ "$NAME" == "linux-intel" ]]; then
|
||||
bazel build //release:protobufs
|
||||
PROTOS_ZIP=protobufs-$RELEASE_TAG.zip
|
||||
cp bazel-bin/release/protobufs.zip $OUTPUT_DIR/github/$PROTOS_ZIP
|
||||
|
@ -110,7 +110,7 @@ case $1 in
|
||||
snapshot)
|
||||
if [ -n "${2+x}" ] && [ -n "${3+x}" ]; then
|
||||
if ! commit_belongs_to_release_branch $2; then
|
||||
echo "WARNING: Commit does not belong to a release branch."
|
||||
echo "WARNING: Commit does not belong to a release branch." >&2
|
||||
make_snapshot adhoc $(git rev-parse $2) $3
|
||||
else
|
||||
make_snapshot snapshot $(git rev-parse $2) $3
|
||||
|
Loading…
Reference in New Issue
Block a user