File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed
Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 7272 ui_static = "${ ui-static } " ;
7373 ui_templates = "${ ui-templates } " ;
7474 } )
75+ ./patches/2-not-beta.patch
7576 ] ;
7677 } ;
7778
Original file line number Diff line number Diff line change 1+ diff --git a/package.py b/package.py
2+ index 1689140..bacf68f 100644
3+ --- a/package.py
4+ +++ b/package.py
5+ @@ -12,15 +12,7 @@ with open(resolve_local_file_path("package.json")) as file:
6+
7+ build_commit = "Dev"
8+ build_branch = "Local"
9+ - build_beta = True
10+ - try:
11+ - import build
12+ -
13+ - build_commit = build.BUILD
14+ - build_branch = build.BRANCH
15+ - build_beta = build_branch != "release"
16+ - except (ModuleNotFoundError, AttributeError):
17+ - pass
18+ + build_beta = False
19+ BUILD: str = build_commit
20+ BRANCH: str = build_branch
21+ BETA: bool = build_beta
You can’t perform that action at this time.
0 commit comments