Use commit hash instead of tag
This commit is contained in:
parent
8a677a31b7
commit
d4c7c7e27f
2
.SRCINFO
2
.SRCINFO
@ -8,7 +8,7 @@ pkgbase = packwiz-installer
|
||||
makedepends = git
|
||||
makedepends = java-environment-openjdk<=11
|
||||
depends = java-environment
|
||||
source = packwiz-installer::git+https://github.com/packwiz/packwiz-installer.git#tag=v0.5.10
|
||||
source = packwiz-installer::git+https://github.com/packwiz/packwiz-installer.git#tag=7b6daaf7e552f44888d68dcd8235822dd1c2956e
|
||||
source = packwiz-installer-bootstrap::git+https://github.com/packwiz/packwiz-installer-bootstrap.git#tag=v0.0.3
|
||||
source = packwiz-installer.sh
|
||||
source = packwiz-installer-bootstrap.sh
|
||||
|
8
PKGBUILD
8
PKGBUILD
@ -9,7 +9,8 @@ license=("MIT")
|
||||
depends=('java-environment')
|
||||
makedepends=('git'
|
||||
'java-environment-openjdk<=11')
|
||||
source=("$pkgname::git+https://github.com/packwiz/$pkgname.git#tag=v$pkgver"
|
||||
_tag=7b6daaf7e552f44888d68dcd8235822dd1c2956e # git rev-parse v${pkgver}
|
||||
source=("$pkgname::git+https://github.com/packwiz/$pkgname.git#tag=$_tag"
|
||||
"$pkgname-bootstrap::git+https://github.com/packwiz/$pkgname-bootstrap.git#tag=v0.0.3"
|
||||
"packwiz-installer.sh"
|
||||
"packwiz-installer-bootstrap.sh")
|
||||
@ -18,6 +19,11 @@ sha256sums=('SKIP'
|
||||
'924aff17bf4ad5fd745c5378d39ec883f685a9b0f4f754828cd99bc83c71df6d'
|
||||
'783990641e80a1b6603264d420ccf0ab6ad5a5c519e05a27162472c1746630cd')
|
||||
|
||||
pkgver() {
|
||||
cd ${pkgname}
|
||||
git describe --tags | sed 's/^v//'
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/$pkgname-bootstrap"
|
||||
chmod +x gradlew
|
||||
|
Loading…
x
Reference in New Issue
Block a user