www-servers/gitlab-pages:
Purge obsolete versions of gitlab-pages Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
parent
c473f4c684
commit
7a630876ec
7 changed files with 7 additions and 304 deletions
|
@ -1,18 +0,0 @@
|
|||
diff --git a/src/gitlab.com/gitlab-org/gitlab-pages/Makefile b/src/gitlab.com/gitlab-org/gitlab-pages/Makefile
|
||||
index 2c1b8e1..4c6feb0 100644
|
||||
--- a/src/gitlab.com/gitlab-org/gitlab-pages/Makefile
|
||||
+++ b/src/gitlab.com/gitlab-org/gitlab-pages/Makefile
|
||||
@@ -1,12 +1,6 @@
|
||||
-REVISION := $(shell git rev-parse --short HEAD || echo unknown)
|
||||
-LAST_TAG := $(shell git describe --tags --abbrev=0)
|
||||
-COMMITS := $(shell echo `git log --oneline $(LAST_TAG)..HEAD | wc -l`)
|
||||
+REVISION := @@REVISION@@
|
||||
VERSION := $(shell cat VERSION)
|
||||
|
||||
-ifneq (v$(VERSION),$(LAST_TAG))
|
||||
- VERSION := $(shell echo $(VERSION)~beta.$(COMMITS).g$(REVISION))
|
||||
-endif
|
||||
-
|
||||
GO_LDFLAGS ?= -X main.VERSION=$(VERSION) -X main.REVISION=$(REVISION)
|
||||
GO_FILES ?= $(shell find . -name '*.go')
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue