From 9b5f1364c972192e9128c0a5f84b4ba88061e589 Mon Sep 17 00:00:00 2001 From: TBK Date: Tue, 7 Nov 2017 04:18:42 +0100 Subject: community/gitea: upgrade to 1.2.3 --- community/gitea/allow-to-set-version.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'community/gitea/allow-to-set-version.patch') diff --git a/community/gitea/allow-to-set-version.patch b/community/gitea/allow-to-set-version.patch index 4be917c846..d5f609ebb3 100644 --- a/community/gitea/allow-to-set-version.patch +++ b/community/gitea/allow-to-set-version.patch @@ -1,8 +1,8 @@ ---- ./Makefile.orig -+++ ./Makefile -@@ -11,7 +11,11 @@ - STYLESHEETS := $(wildcard public/less/index.less public/less/_*.less) - JAVASCRIPTS := +--- a/Makefile ++++ b/Makefile +@@ -23,7 +23,11 @@ + GOFLAGS := -i -v + EXTRA_GOFLAGS ?= -LDFLAGS := -X "main.Version=$(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')" -X "main.Tags=$(TAGS)" +ifeq ($(origin VERSION), undefined) @@ -11,5 +11,5 @@ + +LDFLAGS += -X "main.Version=$(VERSION)" - PACKAGES ?= $(filter-out code.gitea.io/gitea/integrations,$(shell go list ./... | grep -v /vendor/)) + PACKAGES ?= $(filter-out code.gitea.io/gitea/integrations,$(shell $(GO) list ./... | grep -v /vendor/)) SOURCES ?= $(shell find . -name "*.go" -type f) -- cgit v1.2.3