mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Do not override the binary version name from drone (#436)
Signed-off-by: Thomas Boerger <tboerger@suse.de>
This commit is contained in:
		
				
					committed by
					
						
						Lunny Xiao
					
				
			
			
				
	
			
			
			
						parent
						
							111c95ecaf
						
					
				
				
					commit
					618407c018
				
			
							
								
								
									
										4
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								Makefile
									
									
									
									
									
								
							@@ -9,9 +9,7 @@ BINDATA := $(shell find conf | sed 's/ /\\ /g')
 | 
			
		||||
STYLESHEETS := $(wildcard public/less/index.less public/less/_*.less)
 | 
			
		||||
JAVASCRIPTS :=
 | 
			
		||||
 | 
			
		||||
VERSION = $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')
 | 
			
		||||
 | 
			
		||||
LDFLAGS += -X "main.Version=$(VERSION)"
 | 
			
		||||
LDFLAGS += -X "main.Version=$(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')"
 | 
			
		||||
 | 
			
		||||
TARGETS ?= linux/*,darwin/*,windows/*
 | 
			
		||||
PACKAGES ?= $(shell go list ./... | grep -v /vendor/)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user