Skip to content

Commit cbda212

Browse files
committed
Deploy script (used when releasing new versions of OpenShot) now includes GIT SHA - so we can store this and later use it to query official releases via HTTP
1 parent a55fde9 commit cbda212

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

installer/deploy.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ def main():
103103

104104
# Get version info
105105
openshot_qt_version = version_info.get('openshot-qt', {}).get('VERSION', 'N/A')
106+
release_git_sha = version_info.get('openshot-qt', {}).get('CI_COMMIT_SHA', 'N/A')
106107

107108
# Verify branch names are all the same (across the 3 repos)
108109
original_git_branch = ''
@@ -300,7 +301,8 @@ def main():
300301
auth=auth,
301302
data={
302303
"version": openshot_qt_version,
303-
"changelog": log_title + combined_log_markdown
304+
"changelog": log_title + combined_log_markdown,
305+
"sha": release_git_sha
304306
})
305307
if not r.ok:
306308
raise Exception(

0 commit comments

Comments
 (0)