fix release script again (#18582)

This commit is contained in:
Gary Verhaegen 2024-02-27 01:08:15 +01:00 committed by GitHub
parent 5e8065d9d6
commit 888a639953
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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