From 11823d3b4568eb5a4ca50ac980bef0a4402dc817 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Tue, 23 Mar 2021 22:20:14 +0100 Subject: [PATCH] use master for tag-buids of upload wheels job --- ci_scripts/ci_upload.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ci_scripts/ci_upload.sh b/ci_scripts/ci_upload.sh index aedc51724..64484c748 100755 --- a/ci_scripts/ci_upload.sh +++ b/ci_scripts/ci_upload.sh @@ -12,8 +12,9 @@ WHEELHOUSEDIR=${2:?directory with pre-built wheels} DOXYDOCDIR=${3:?directory where doxygen docs to be found} SSHTARGET=ci@b1.delta.chat - -export BRANCH=${CIRCLE_BRANCH:?specify branch for uploading purposes} + +# if CIRCLE_BRANCH is not set we are called for a tag with empty CIRCLE_BRANCH variable. +export BRANCH=${CIRCLE_BRANCH:master} export BUILDDIR=ci_builds/$REPONAME/$BRANCH/${CIRCLE_JOB:?jobname}/${CIRCLE_BUILD_NUM:?circle-build-number}/wheelhouse