summarylogtreecommitdiffstats
path: root/push-version-aur.sh
blob: ea0e79043805440902cf0650fbec497d535a4d66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Generate the checksums automatically
sed -i "s/^sha256sums=.*/$(makepkg -g -f -p PKGBUILD)/" ./PKGBUILD

# Generate pagkage metadata
makepkg --printsrcinfo > .SRCINFO

# Push it to AUR
git add PKGBUILD .SRCINFO
git commit -m "New version"
git push ssh://aur@aur.archlinux.org/wofi-calc-git.git master

# Bye
echo -e "\n-------------------------------------------------------------------"
echo -e "NEW VERSION GENERATED\n"