lilac/repo/nebula-bgme/lilac.py

19 lines
362 B
Python
Raw Normal View History

2023-08-23 09:52:31 +00:00
#!/usr/bin/env python3
from lilaclib import *
def get_latest_release_tag():
resp = s.get(
'https://api.github.com/repos/slackhq/nebula/releases/latest'
)
body = resp.json()
return body["tag_name"]
def pre_build():
tag = get_latest_release_tag()
pkgver = tag.lstrip('v')
2023-12-29 13:16:31 +00:00
update_pkgver_and_pkgrel(pkgver, updpkgsums=True)