Now we can push to aur-stable and aur-git

from this repo
This commit is contained in:
Zeioth 2022-04-10 22:35:02 +02:00
parent d3d7f3f55a
commit 7a4289e391
2 changed files with 14 additions and 0 deletions

14
push-stable-aur.sh Executable file
View file

@ -0,0 +1,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 master
# Bye
echo -e "\n-------------------------------------------------------------------"
echo -e "NEW VERSION GENERATED\n"