0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-11 23:00:52 +00:00
Biswapriyo Nath 520d15eb1b bump(main/miniflux): 2.1.4
Rebase Makefile.patch file after whitespace change in upstream.
b692768730
2024-07-10 21:06:53 +05:30

13 lines
645 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
APP := miniflux
DOCKER_IMAGE := miniflux/miniflux
-VERSION := $(shell git describe --tags --abbrev=0 2>/dev/null)
-COMMIT := $(shell git rev-parse --short HEAD 2>/dev/null)
+VERSION ?= $(shell git describe --tags --abbrev=0 2>/dev/null)
+COMMIT :=
BUILD_DATE := `date +%FT%T%z`
LD_FLAGS := "-s -w -X 'miniflux.app/v2/internal/version.Version=$(VERSION)' -X 'miniflux.app/v2/internal/version.Commit=$(COMMIT)' -X 'miniflux.app/v2/internal/version.BuildDate=$(BUILD_DATE)'"
PKG_LIST := $(shell go list ./... | grep -v /vendor/)