~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

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

Marvin Preuss <marvin@xsteadfastx.org>
Details
Message ID
<20210820095819.773441-1-marvin@xsteadfastx.org>
DKIM signature
missing
Download raw message
Patch: +5 -2
---
 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
Reply to thread Export thread (mbox)