We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 588fca1 commit dd57cccCopy full SHA for dd57ccc
terraform/pipeline/tag.py
@@ -4,7 +4,9 @@
4
REASON = os.environ["REASON"]
5
# use variable corresponding to tag triggers
6
SOURCE = os.environ["INDIVIDUAL_SOURCE"]
7
-IS_TAG = os.environ["IS_TAG"].lower() == "true"
+
8
+SOURCE_BRANCH = os.environ["SOURCE_BRANCH"]
9
+IS_TAG = SOURCE_BRANCH.startswith("refs/tags/") is True
10
11
if REASON == "IndividualCI" and IS_TAG:
12
if re.fullmatch(r"20\d\d.\d\d.\d+-rc\d+", SOURCE):
0 commit comments