diff options
author | Diab Neiroukh | 2021-03-18 22:32:55 +0000 |
---|---|---|
committer | Diab Neiroukh | 2021-03-18 22:35:28 +0000 |
commit | ba37aa008dd5557eb547269e6e9c33a08fd90611 (patch) | |
tree | 40af9f1010124977c67bf2da3f2bce8341ca26ba | |
parent | f058b6cdf17b24b5fba87a2c723154b265c8a30a (diff) | |
download | aur-ba37aa008dd5557eb547269e6e9c33a08fd90611.tar.gz |
PKGBUILD: Bump the package version to match the new release.
Also, make sure we checkout to release tags in case HEAD differs.
Signed-off-by: Diab Neiroukh <lazerl0rd@thezest.dev>
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 9 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = zestginx pkgdesc = A modern, performant, and secure NGINX distribution packed with features. - pkgver = 1.19.8 - pkgrel = 3 + pkgver = 1.19.8.1 + pkgrel = 1 url = https://github.com/ZestProjects/zestginx arch = any license = custom @@ -1,8 +1,8 @@ # Maintainer: Diab Neiroukh <lazerl0rd at thezest dot dev> pkgbase="zestginx" -pkgver="1.19.8" -pkgrel=3 +pkgver="1.19.8.1" +pkgrel=1 arch=("any") pkgname=("zestginx" "zestginx-src") pkgdesc="A modern, performant, and secure NGINX distribution packed with features." @@ -49,10 +49,13 @@ backup=( prepare() { - cp -r "$pkgbase"{,"-src"} - rm -rf "$pkgbase-src/.git" cd "$pkgbase" + git checkout "release-$pkgver" git submodule update --init + cd .. + + cp -r "$pkgbase"{,"-src"} + rm -rf "$pkgbase-src/.git" } build() |