From 418b5dfdb2726cf5ea0d7fb494124b5b32744ba8 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Tue, 25 Jul 2023 01:51:56 -0500 Subject: [PATCH] fix: Replacing of version numbers --- update-aur-lure.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update-aur-lure.sh b/update-aur-lure.sh index 375821f..90b2c81 100644 --- a/update-aur-lure.sh +++ b/update-aur-lure.sh @@ -33,7 +33,7 @@ git push # Update the GitHub backup repo as well echo "Updating AUR backup repo..." cd "$GIT_DIR/AUR Mirror GitHub/$PKG" -sed -i -E "s/version=[0-9\.]+/version=$VERS/" PKGBUILD +sed -i -E "s/pkgver=[0-9\.]+/pkgver=$VERS/" PKGBUILD git add . git commit -m "Bumped $PKG version to $VERS" git push @@ -43,7 +43,7 @@ echo "Updating LURE repo..." cd "$GIT_DIR/lure-repo/" [ -d "$1" ] && PKG="$1" || PKG="$1-bin" cd "$PKG" -sed -i -E "s/pkgver=[0-9\.]+/pkgver=$VERS/" lure.sh +sed -i -E "s/version=[0-9\.]+/version=$VERS/" lure.sh update-lure-checksums.py # Remove downloaded files