~alpine/aports

testing/ali: adds git rev for help command v1 APPLIED

Marvin Preuss: 1
 testing/ali: adds git rev for help command

 1 files changed, 5 insertions(+), 2 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3620/mbox | git am -3
Learn more about email & git

[PATCH] testing/ali: adds git rev for help command Export this patch

---
 testing/ali/APKBUILD | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/testing/ali/APKBUILD b/testing/ali/APKBUILD
index b99f0b3aa6..caf1efc2e7 100644
--- a/testing/ali/APKBUILD
+++ b/testing/ali/APKBUILD
@@ -2,7 +2,10 @@
# Maintainer: Marvin Preuss <marvin@xsteadfastx.org>
pkgname=ali
pkgver=0.7.2
pkgrel=1
# this is used for the help command to print the commit.
# needs to be changed on every release.
_rev=910942e
pkgrel=2
pkgdesc="Generate HTTP load and plot the results in real-time"
url="https://github.com/nakabonne/ali"
arch="all"
@@ -20,7 +23,7 @@ build() {
		-ldflags "
		-X \"main.version=$pkgver\" \
		-X \"main.date=$(date -u "+%Y-%m-%dT%TZ" ${SOURCE_DATE_EPOCH:+-d @$SOURCE_DATE_EPOCH})\" \
		-X \"main.commit=none\" \
		-X \"main.commit=$_rev\" \
		"
}

-- 
2.33.0