salmon: add lilac.py

This commit is contained in:
sukanka 2022-10-29 09:52:52 +08:00
parent 07f550f061
commit 55cd406672
2 changed files with 11 additions and 7 deletions

View file

@ -0,0 +1,11 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
def post_build():
git_add_files('PKGBUILD')
git_commit()
update_aur_repo()

View file

@ -3,13 +3,6 @@ maintainers:
- github: sukanka
email: su975853527@gmail.com
pre_build_script: |
update_pkgver_and_pkgrel(_G.newver)
post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
update_on:
- source: github
github: COMBINE-lab/salmon