blob: 6c185bc28ad3a3f594c40584ba751f71f2a28468 (
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
|