diff --git a/push_aur.sh b/push_aur.sh index a1df7a55..5ff6cb9e 100755 --- a/push_aur.sh +++ b/push_aur.sh @@ -3,11 +3,12 @@ cd ../tod-bin/ || exit git pull cd ../tod/ || exit +mv target/cargo-aur/PKGBUILD ./PKGBUILD makepkg --printsrcinfo > ../tod-bin/.SRCINFO mv PKGBUILD ../tod-bin/ -rm ./*.tar.gz +rm target/cargo-aur/*.tar.gz cd ../tod-bin/ || exit git add . git commit -m "new version" git push aur -cd ../tod || exit \ No newline at end of file +cd ../tod || exit