Skip to content

Commit 1765a1e

Browse files
Stephen C. Popeservice-swe
authored andcommitted
[PLAT-2889] Client: Fix pypi publish workflow script (#12977)
GitOrigin-RevId: f12770316d53d8dc25577e6c1b6359786888584d
1 parent 8be1ad2 commit 1765a1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/version_suffix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import sys
66

77
file_path = sys.argv[1]
8-
suffix = sys.argv[2].strip()
8+
suffix = len(sys.argv) >= 3 and sys.argv[2].strip() or ""
99

1010
with open(file_path) as f:
1111
lines = f.readlines()

0 commit comments

Comments
 (0)