Add newline to git-version helper command
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Elara 2023-05-04 12:01:19 -07:00
parent 6138790e9c
commit b03cecb28e
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ func gitVersionCmd(hc interp.HandlerContext, cmd string, args []string) error {
hash := HEAD.Hash().String()
fmt.Fprintf(hc.Stdout, "%d.%s", revNum, hash[:7])
fmt.Fprintf(hc.Stdout, "%d.%s\n", revNum, hash[:7])
return nil
}