summarylogtreecommitdiffstats
path: root/autoUpdate
diff options
context:
space:
mode:
authorJared J2023-08-31 13:48:19 +1000
committerJared J2023-08-31 13:48:19 +1000
commit22fa7ab54e8d2031a43481bf28a76d2707c14dc5 (patch)
treebd0cf7766b32c9ae8ed443b46fbf5f05b37e0540 /autoUpdate
parent616992afb04f8689030cb8fa625b0e568b7889d9 (diff)
downloadaur-22fa7ab54e8d2031a43481bf28a76d2707c14dc5.tar.gz
Add source verification to updater before commit.
Diffstat (limited to 'autoUpdate')
-rwxr-xr-xautoUpdate1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoUpdate b/autoUpdate
index fb98f839fcee..e0a030f80ef9 100755
--- a/autoUpdate
+++ b/autoUpdate
@@ -35,6 +35,7 @@ else
# Reset pkgrel
sed -i -E -e 's/pkgrel=[0-9]+/pkgrel=1/g' -e 's/pkgrel = [0-9]+/pkgrel = 1/g' ${files[@]}
+ makepkg --verifysource || { echo "Unable to verify sources, please verify checksums."; exit 1;}
git add ${files[@]}
git commit -m "Version bump to ${latestVer}"
git push || { echo "Failed to push version bump." ; exit 1;}