Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9d29a0a

Browse files
committed
fix: latest_sha
1 parent 4bc4dc6 commit 9d29a0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

upgrade.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def getSha():
1111
# deserialize JSON bytes to Python object
1212
tags = json.loads(c)
1313
# pull latest version sha
14-
latest_sha = tags[1]['commit']['sha']
14+
latest_sha = tags[0]['commit']['sha']
1515
return latest_sha
1616

1717
# read file for previous sha

0 commit comments

Comments
 (0)