mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 09:31:53 +01:00 
			
		
		
		
	Revert "Set VERSION from git once, in a variable (#1447)"
This reverts commit 410af6971b87ac5dc7ac198f538d8383c1f47a1f.
This commit is contained in:
		
							parent
							
								
									91d64656a4
								
							
						
					
					
						commit
						cebe3a6b2f
					
				
							
								
								
									
										4
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								Makefile
									
									
									
									
									
								
							| @ -14,9 +14,7 @@ JAVASCRIPTS := | ||||
| GOFLAGS := -i -v | ||||
| EXTRA_GOFLAGS ?= | ||||
| 
 | ||||
| VERSION := $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//') | ||||
| 
 | ||||
| LDFLAGS := -X "main.Version=$(VERSION)" -X "main.Tags=$(TAGS)" | ||||
| LDFLAGS := -X "main.Version=$(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')" -X "main.Tags=$(TAGS)" | ||||
| 
 | ||||
| PACKAGES ?= $(filter-out code.gitea.io/gitea/integrations,$(shell go list ./... | grep -v /vendor/)) | ||||
| SOURCES ?= $(shell find . -name "*.go" -type f) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user