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

set -e

echo "What is the new shasum?";
read SHASUM;

echo "What is the new version?";
read VERSION;

sed -i -r "s/^sha256sums_x86_64=\('(.*?)'\)/sha256sums_x86_64=('$SHASUM')/" PKGBUILD 
sed -i -r "s/^pkgver=(.*?)$/pkgver=$VERSION/" PKGBUILD 

makepkg --printsrcinfo > .SRCINFO

git add -u 

git commit -m "chore: update v$VERSION"

git push