Skip to content

Commit e82ed33

Browse files
authored
NO-JIRA: sort environment variables alphabetically in update-commit-latest-env.py (#2109)
1 parent 126ae30 commit e82ed33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/update-commit-latest-env.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ async def main():
111111
output.append((re.sub(r'-n$', "-commit-n", variable), commit_hash[:7]))
112112

113113
with open(PROJECT_ROOT / "manifests/base/commit-latest.env", "wt") as file:
114-
for line in output:
114+
for line in sorted(output):
115115
print(*line, file=file, sep="=", end="\n")
116116

117117

0 commit comments

Comments
 (0)