File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -88,14 +88,13 @@ HUGO_VERSION ?= 0.111.3
88
88
89
89
STORED_VERSION =$(shell cat $(STORED_VERSION_FILE ) 2>/dev/null)
90
90
ifneq ($(STORED_VERSION ) ,)
91
- GITEA_VERSION ?= $(STORED_VERSION )
91
+ FORGEJO_VERSION ?= $(STORED_VERSION )
92
92
else
93
- GITEA_VERSION ?= $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')
93
+ FORGEJO_VERSION ?= $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')
94
94
endif
95
- VERSION = ${GITEA_VERSION }
95
+ VERSION ? = ${FORGEJO_VERSION }
96
96
97
- # SemVer
98
- FORGEJO_VERSION := 7.0.0+0-gitea-1.22.0
97
+ GITEA_VERSION ?= 1.22.0
99
98
100
99
LDFLAGS := $(LDFLAGS ) -X "main.MakeVersion=$(MAKE_VERSION ) " -X "main.Version=$(GITEA_VERSION ) " -X "main.Tags=$(TAGS ) " -X "main.ForgejoVersion=$(FORGEJO_VERSION ) "
101
100
You can’t perform that action at this time.
0 commit comments