pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

litestream: Populate version



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sun Mar 23 19:58:40 2025 +0100
Changeset:	3a625bb2cad626009e675d200299d22c86a8220d

Modified Files:
	litestream/Makefile

Log Message:
litestream: Populate version

Define actual litestream version as done by upstream for
non-development builds.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3a625bb2cad626009e675d200299d22c86a8220d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 litestream/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diffs:
diff --git a/litestream/Makefile b/litestream/Makefile
index 4ad979e235..08510dd484 100644
--- a/litestream/Makefile
+++ b/litestream/Makefile
@@ -10,6 +10,8 @@ HOMEPAGE=	https://litestream.io/
 COMMENT=	Streaming replication for SQLite
 LICENSE=	apache-2.0
 
+GO_BUILD_PATTERN+=	-ldflags ' \
+			-X main.Version=${GITHUB_TAG}'
 GO_BUILD_PATTERN+=	./cmd/litestream
 
 .include "go-modules.mk"


Home | Main Index | Thread Index | Old Index