Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Martinez <jmartinez@gitlab.com>2021-03-10 07:43:19 +0300
committerJaime Martinez <jmartinez@gitlab.com>2021-03-10 07:43:19 +0300
commitfb88c2aebad594dd405a340b4531c79161d312c3 (patch)
tree2c42880170174ad8fa38a1cb90c12a0d4ddffe25 /Makefile.internal.mk
parent789cbeca36efcd135ec9ccb134d91d9487eeb034 (diff)
Do not export variables
Diffstat (limited to 'Makefile.internal.mk')
-rw-r--r--Makefile.internal.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.internal.mk b/Makefile.internal.mk
index 5a3c9743..09f13225 100644
--- a/Makefile.internal.mk
+++ b/Makefile.internal.mk
@@ -1,8 +1,8 @@
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`)
-export VERSION = $(shell cat VERSION)
-export BRANCH = $(shell git rev-parse --abbrev-ref HEAD)
+VERSION := $(shell cat VERSION)
+BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
ifneq (v$(VERSION),$(LAST_TAG))
VERSION := $(shell echo $(VERSION)~beta.$(COMMITS).g$(REVISION))