summarylogtreecommitdiffstats
path: root/release
blob: 30fa38568e588490a01da200dadea1efd39ad3e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /usr/bin/bash


makepkg --printsrcinfo > .SRCINFO

pk_name=$(grep -Po "^pkgname=\K.*" PKGBUILD)
pk_ver=$(grep -Po "^pkgver=\K.*" PKGBUILD)
pk_rel=$(grep -Po "^pkgrel=\K.*" PKGBUILD)

commit_msg="update to $pk_name ver $pk_ver, rel version $pk_rel" 

git add PKGBUILD .SRCINFO
git commit -m "$commit_msg"
git push aur master
git status