mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
a
This commit is contained in:
parent
8278d91806
commit
db5e5b7e70
1 changed files with 1 additions and 0 deletions
|
@ -269,6 +269,7 @@ async def get_version_real(
|
||||||
commit_count = await get_commit_count(url, headers)
|
commit_count = await get_commit_count(url, headers)
|
||||||
version = data[0]['commit']['committer']['date'].rstrip('Z').replace('-', '').replace(':', '').replace('T', '.')
|
version = data[0]['commit']['committer']['date'].rstrip('Z').replace('-', '').replace(':', '').replace('T', '.')
|
||||||
version = f"{version}.r{commit_count}.g{data[0]['sha'][:9]}"
|
version = f"{version}.r{commit_count}.g{data[0]['sha'][:9]}"
|
||||||
|
print(f"{version}")
|
||||||
|
|
||||||
return RichResult(
|
return RichResult(
|
||||||
# YYYYMMDD.HHMMSS
|
# YYYYMMDD.HHMMSS
|
||||||
|
|
Loading…
Add table
Reference in a new issue