Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Commit 10ac904

Browse files
author
Alexandre Lissy
committed
Avoid duplicated tag name for routes
1 parent a2670b4 commit 10ac904

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tc-schedule.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ done;
1818

1919
GITHUB_EVENT="tag" TASK_ID="aa" GITHUB_HEAD_BRANCHORTAG="tagName" GITHUB_HEAD_REF="refs/tags/tagName" python3 ${curdir}/tc-decision.py --dry
2020

21-
# Quick hack because tc-decision uses GITHUB_HEAD_BRANCH
22-
export GITHUB_HEAD_BRANCH="${GITHUB_HEAD_BRANCH}${GITHUB_HEAD_TAG}"
23-
2421
# Create a new env variable for usage in TaskCluster .yml files
2522
export GITHUB_HEAD_BRANCHORTAG="${GITHUB_HEAD_BRANCH}${GITHUB_HEAD_TAG}"
23+
24+
# Quick hack because tc-decision uses GITHUB_HEAD_BRANCH
25+
export GITHUB_HEAD_BRANCH="${GITHUB_HEAD_BRANCH}${GITHUB_HEAD_TAG}"
2626
python3 ${curdir}/tc-decision.py

0 commit comments

Comments
 (0)