Compare commits

..

No commits in common. "cdab5ab4c81abb660872b4127511b04f776ee49a" and "7004c5368e0faa5af266a5f349669fa8639feedf" have entirely different histories.

2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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 {