Skip to content

Commit 421e9aa

Browse files
committed
Merge branch 'master' into CLOUDP-328217/automation-agent-password-secret
2 parents ca20b5c + c6c0220 commit 421e9aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release/kubectl_mongodb/promote_kubectl_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def get_commit_from_tag(tag: str) -> str:
7777
result = subprocess.run(
7878
# using --short because that's how staging version is figured out for staging build scenario
7979
# https://github.com/mongodb/mongodb-kubernetes/blob/1.5.0/scripts/dev/contexts/evg-private-context#L137
80-
["git", "rev-parse", "--short", f"{tag}^{{commit}}"], # git rev-parse v1.1.1^{commit}
80+
["git", "rev-parse", "--short=8", f"{tag}^{{commit}}"], # git rev-parse --short=8 v1.1.1^{commit}
8181
capture_output=True,
8282
text=True,
8383
check=True,

0 commit comments

Comments
 (0)