Skip to content

Commit dc83f5e

Browse files
committed
Implement is_release_step_executed()
1 parent f8c7976 commit dc83f5e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/release/build_configuration.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,9 @@ class BuildConfiguration:
1616
sign: bool = False
1717
all_agents: bool = False
1818
debug: bool = True
19+
20+
def is_release_step_executed(self) -> bool:
21+
"""
22+
Determines whether release steps should be executed based on build scenario
23+
"""
24+
return self.scenario == BuildScenario.RELEASE

0 commit comments

Comments
 (0)