mirror of
https://github.com/SinTan1729/random.git
synced 2024-12-26 05:08:36 -06:00
fix: Replacing of version numbers
This commit is contained in:
parent
f82e56878d
commit
418b5dfdb2
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ git push
|
||||||
# Update the GitHub backup repo as well
|
# Update the GitHub backup repo as well
|
||||||
echo "Updating AUR backup repo..."
|
echo "Updating AUR backup repo..."
|
||||||
cd "$GIT_DIR/AUR Mirror GitHub/$PKG"
|
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 add .
|
||||||
git commit -m "Bumped $PKG version to $VERS"
|
git commit -m "Bumped $PKG version to $VERS"
|
||||||
git push
|
git push
|
||||||
|
@ -43,7 +43,7 @@ echo "Updating LURE repo..."
|
||||||
cd "$GIT_DIR/lure-repo/"
|
cd "$GIT_DIR/lure-repo/"
|
||||||
[ -d "$1" ] && PKG="$1" || PKG="$1-bin"
|
[ -d "$1" ] && PKG="$1" || PKG="$1-bin"
|
||||||
cd "$PKG"
|
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
|
update-lure-checksums.py
|
||||||
|
|
||||||
# Remove downloaded files
|
# Remove downloaded files
|
||||||
|
|
Loading…
Reference in a new issue