Compare commits
	
		
			No commits in common. "cdab5ab4c81abb660872b4127511b04f776ee49a" and "7004c5368e0faa5af266a5f349669fa8639feedf" have entirely different histories.
		
	
	
		
			cdab5ab4c8
			...
			7004c5368e
		
	
		
							
								
								
									
										4
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								Makefile
									
									
									
									
									
								
							|  | @ -3,9 +3,7 @@ | |||
| BUILD_DIR = ./build | ||||
| TMP_DIR = ./tmp | ||||
| APPS := $(notdir $(wildcard ./cmd/*)) | ||||
| COMMIT_HASH := $(shell git rev-parse --short HEAD) | ||||
| DATE := $(shell date +"%Y%m%d-%H%M%S") | ||||
| VERSION := $(COMMIT_HASH)-$(DATE) | ||||
| VERSION := $(shell git rev-parse --short HEAD) | ||||
| FLAGS := "-s -w -X main.Version=$(VERSION)" | ||||
| 
 | ||||
| all: build | ||||
|  |  | |||
|  | @ -47,7 +47,7 @@ func (*ResultDetail) Run(results []stage.ExecutorResult, confAny any) ( | |||
| 		} | ||||
| 		for _, file := range conf.ShowFiles { | ||||
| 			content, ok := result.Files[file] | ||||
| 			comment += fmt.Sprintf("File `%s`:\n", file) | ||||
| 			comment += fmt.Sprintf("File: `%s`:\n", file) | ||||
| 			if ok { | ||||
| 				comment += fmt.Sprintf("```\n%s\n```\n", content) | ||||
| 			} else { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user