mirror of
				https://github.com/r-smith/deceptifeed.git
				synced 2025-11-03 21:53:39 +00:00 
			
		
		
		
	Append -dirty or -broken tag to version if local changes found
				
					
				
			This commit is contained in:
		
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							@@ -8,7 +8,7 @@ BIN_FREEBSD := $(BIN_DEFAULT)_freebsd_amd64
 | 
			
		||||
BIN_WINDOWS := $(BIN_DEFAULT)_windows_amd64.exe
 | 
			
		||||
INSTALL_SCRIPT := ./scripts/install.sh
 | 
			
		||||
UNINSTALL_SCRIPT := ./scripts/install.sh --uninstall
 | 
			
		||||
VERSION := $(shell git describe --tags)
 | 
			
		||||
VERSION := $(shell git describe --tags --dirty --broken)
 | 
			
		||||
BUILD_OPTIONS := -trimpath -ldflags="-s -w -X 'github.com/r-smith/deceptifeed/internal/config.Version=$(VERSION:v%=%)'"
 | 
			
		||||
GO := go
 | 
			
		||||
CGO_ENABLED := 0
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user