diff options
author | Josias | 2024-01-18 21:44:23 +0100 |
---|---|---|
committer | Josias | 2024-01-18 21:44:23 +0100 |
commit | eec022ef2d026ebaf94472ea71027c3cc4fdc630 (patch) | |
tree | f2488af9c23c5c944610174492b68dd6e2826b89 | |
parent | 69350010bd68ade36b15e81dc9f1575e9bfb6a7c (diff) | |
download | aur-eec022ef2d026ebaf94472ea71027c3cc4fdc630.tar.gz |
fix version identification of go-ds-s3 in case of existing *-rcX tag
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = kubo-s3-git pkgdesc = IPFS Kubo with S3 Datastore Implementation - pkgver = 0.24.0.r0.ge70db65 - pkgrel = 2 + pkgver = 0.25.0.r0.g413a52d + pkgrel = 1 url = https://github.com/chixodo-xyz/kubo-s3 install = prod.install arch = x86_64 @@ -3,8 +3,8 @@ _pkgname=kubo _plgname=go-ds-s3 _pkgplgname=$_pkgname-s3 pkgname=$_pkgplgname-git -pkgver=0.24.0.r0.ge70db65 -pkgrel=2 +pkgver=0.25.0.r0.g413a52d +pkgrel=1 pkgdesc="IPFS Kubo with S3 Datastore Implementation" arch=('x86_64') url="https://github.com/chixodo-xyz/kubo-s3" @@ -67,7 +67,7 @@ prepare() { cd "$srcdir/$_plgname" if [ -z "$S3Version" ] || [ "$S3Version" == "*" ]; then - S3Version=$(git describe --tags --abbrev=0 --match="go-ds-s3-plugin/v*") + S3Version=$(git describe --tags --abbrev=0 --match="go-ds-s3-plugin/${KuboVersion}") fi S3VersionHash=$(git rev-list -n 1 ${S3Version}) printf "\033[34;1mPrepare go-ds-s3 plugin %s (%s)\n\033[0m" ${S3Version} $(git describe --long --tags --abbrev=7 ${S3Version} | |