Skip to content

Commit

Permalink
Merge pull request mozilla#1364 from lissyx/tag_more_more_fix
Browse files Browse the repository at this point in the history
Avoid duplicated tag name for routes
  • Loading branch information
lissyx authored Apr 28, 2018
2 parents a2670b4 + 10ac904 commit 57f2371
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tc-schedule.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 57f2371

Please sign in to comment.