You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ar...@apache.org on 2022/05/12 23:35:36 UTC

[tvm] branch areusch/freeze-dependencies updated: deal with % in BUILD_TAG

This is an automated email from the ASF dual-hosted git repository.

areusch pushed a commit to branch areusch/freeze-dependencies
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/areusch/freeze-dependencies by this push:
     new bcffcccfba deal with % in BUILD_TAG
bcffcccfba is described below

commit bcffcccfba3b19a80b5ed80b6baa238dd3fd8714
Author: Andrew Reusch <ar...@gmail.com>
AuthorDate: Thu May 12 16:35:23 2022 -0700

    deal with % in BUILD_TAG
---
 docker/build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker/build.sh b/docker/build.sh
index 6f9c352600..f495bba8d0 100755
--- a/docker/build.sh
+++ b/docker/build.sh
@@ -165,7 +165,7 @@ function upsearch () {
 # Set up WORKSPACE and BUILD_TAG. Jenkins will set them for you or we pick
 # reasonable defaults if you run it outside of Jenkins.
 WORKSPACE="${WORKSPACE:-${SCRIPT_DIR}/../}"
-BUILD_TAG="${BUILD_TAG:-tvm}"
+BUILD_TAG=$(echo "${BUILD_TAG:-tvm}" | sed 's/-/--/g' | sed 's/%/-/g')
 DOCKER_IMAGE_TAG="${DOCKER_IMAGE_TAG:-latest}"
 
 # Determine the docker image name