From 32133c0753f92485336e13a1be2e9977f47e2591 Mon Sep 17 00:00:00 2001 From: Zeioth Date: Sun, 10 Apr 2022 21:29:59 +0200 Subject: [PATCH] test --- .gitignore | 1 + push-new-version-to-aur.sh | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 .gitignore create mode 100755 push-new-version-to-aur.sh diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6e92f57 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +tags diff --git a/push-new-version-to-aur.sh b/push-new-version-to-aur.sh new file mode 100755 index 0000000..375a57f --- /dev/null +++ b/push-new-version-to-aur.sh @@ -0,0 +1,10 @@ +# 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 +git push ssh://aur@aur.archlinux.org/wofi-calc-git.git master