mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-28 13:53:14 +01:00
Do not override the binary version name from drone (#436)
Signed-off-by: Thomas Boerger <tboerger@suse.de>
This commit is contained in:
parent
111c95ecaf
commit
618407c018
1 changed files with 1 additions and 3 deletions
4
Makefile
4
Makefile
|
@ -9,9 +9,7 @@ BINDATA := $(shell find conf | sed 's/ /\\ /g')
|
||||||
STYLESHEETS := $(wildcard public/less/index.less public/less/_*.less)
|
STYLESHEETS := $(wildcard public/less/index.less public/less/_*.less)
|
||||||
JAVASCRIPTS :=
|
JAVASCRIPTS :=
|
||||||
|
|
||||||
VERSION = $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')
|
LDFLAGS += -X "main.Version=$(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')"
|
||||||
|
|
||||||
LDFLAGS += -X "main.Version=$(VERSION)"
|
|
||||||
|
|
||||||
TARGETS ?= linux/*,darwin/*,windows/*
|
TARGETS ?= linux/*,darwin/*,windows/*
|
||||||
PACKAGES ?= $(shell go list ./... | grep -v /vendor/)
|
PACKAGES ?= $(shell go list ./... | grep -v /vendor/)
|
||||||
|
|
Loading…
Reference in a new issue