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