Skip to content

Commit 6607ad4

Browse files
committed
fix ss+lc nightly repo description
1 parent cd14a5c commit 6607ad4

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/update_json.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,13 @@ def update_json_file_release_ss_lc(repo_url, json_file, latest_release, is_night
243243
version_date = latest_release["published_at"]
244244
date_obj = datetime.strptime(version_date, "%Y-%m-%dT%H:%M:%SZ")
245245

246-
description = latest_release["body"]
247-
description = prepare_description(description)
246+
commit_sha = os.environ.get("commit_sha", "")[:7]
247+
commit_msg = os.environ.get("commit_msg", "").strip()
248248

249+
description = f"""\
250+
Nightly build from [{commit_sha}](https://github.com/LiveContainer/LiveContainer/commit/{commit_sha}):\
251+
{commit_msg}
252+
"""
249253
assets = latest_release.get("assets", [])
250254
download_url = None
251255
size = None

0 commit comments

Comments
 (0)