From 10ac90473006ce65ec93283b0f8c17f061b47e2e Mon Sep 17 00:00:00 2001 From: Alexandre Lissy Date: Sat, 28 Apr 2018 02:41:31 +0200 Subject: [PATCH] Avoid duplicated tag name for routes --- tc-schedule.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tc-schedule.sh b/tc-schedule.sh index 2e05a87164..19bb3156ec 100755 --- a/tc-schedule.sh +++ b/tc-schedule.sh @@ -18,9 +18,9 @@ done; GITHUB_EVENT="tag" TASK_ID="aa" GITHUB_HEAD_BRANCHORTAG="tagName" GITHUB_HEAD_REF="refs/tags/tagName" python3 ${curdir}/tc-decision.py --dry -# Quick hack because tc-decision uses GITHUB_HEAD_BRANCH -export GITHUB_HEAD_BRANCH="${GITHUB_HEAD_BRANCH}${GITHUB_HEAD_TAG}" - # Create a new env variable for usage in TaskCluster .yml files export GITHUB_HEAD_BRANCHORTAG="${GITHUB_HEAD_BRANCH}${GITHUB_HEAD_TAG}" + +# Quick hack because tc-decision uses GITHUB_HEAD_BRANCH +export GITHUB_HEAD_BRANCH="${GITHUB_HEAD_BRANCH}${GITHUB_HEAD_TAG}" python3 ${curdir}/tc-decision.py