Skip to content

Commit 2d29e4d

Browse files
committed
release trigger name correction
1 parent 9d8b1c8 commit 2d29e4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tools/scripts/Utils/verifyReleaseConditions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ def get_yamato_trigger_type():
2626
"""
2727
Retrieves the trigger type for the current Yamato job from environment variables.
2828
In other words, we can check if the job was triggered manually, by a schedule, or by a PR, etc.
29+
This value is set to Recurring when triggered by automation
2930
"""
30-
trigger_type = os.environ.get('YAMATO_TRIGGER_TYPE', 'unknown')
31+
trigger_type = os.environ.get('YAMATO_TRIGGER_TYPE', 'Manual')
3132

3233
return trigger_type
3334

@@ -86,7 +87,6 @@ def verifyReleaseConditions(config: ReleaseConfig):
8687

8788
try:
8889
trigger_type = get_yamato_trigger_type()
89-
print(f"Yamato Trigger Type: {trigger_type}")
9090
is_manual = trigger_type in {"Manual", "AdHoc"}
9191

9292
if not is_manual and not is_release_date(config.release_weekday, config.release_week_cycle, config.anchor_date):

0 commit comments

Comments
 (0)