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


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 origin master
git status

# # push to gitlab too
# git checkout main
# git pull
# git push origin main