mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
Update lilac.py
This commit is contained in:
parent
38a47380bd
commit
5bbae69f43
1 changed files with 2 additions and 1 deletions
|
@ -6,8 +6,9 @@ def pre_build():
|
|||
dt = datetime.strptime(dt, '%m %d, %Y').strftime('%Y%m%d')
|
||||
|
||||
for line in edit_file('PKGBUILD'):
|
||||
line.startswith('pkgver='):
|
||||
if line.startswith('pkgver='):
|
||||
line = f'pkgver={dt}'
|
||||
|
||||
print(line)
|
||||
|
||||
update_pkgver_and_pkgrel(f'{dt}')
|
||||
|
|
Loading…
Add table
Reference in a new issue