blob: bd5dba6e90ed2a12eb7954a3c20ade24c4fbd88a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
if [[ $# -ne 1 ]]; then
echo "Usage: $0 <version without prefix v>"; exit 1
fi
sed -i 's/^pkgver=.*$/pkgver='"$1"'/' PKGBUILD
git add PKGBUILD
git commit -m "Updated to v$1"
git tag "v$1"
git push
git push --tags
updpkgsums
makepkg --printsrcinfo > .SRCINFO
git add .SRCINFO PKGBUILD
git commit -m "Submitting to AUR"
echo "Now check package checksum manually"
|