mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-26 08:51:25 +02:00
12 lines
342 B
Diff
12 lines
342 B
Diff
--- ./Makefile.orig
|
|
+++ ./Makefile
|
|
@@ -30,7 +30,7 @@
|
|
else
|
|
VERSION ?= master
|
|
endif
|
|
- GITEA_VERSION := $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')
|
|
+ GITEA_VERSION ?= $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')
|
|
endif
|
|
|
|
LDFLAGS := -X "main.Version=$(GITEA_VERSION)" -X "main.Tags=$(TAGS)"
|