Add newline to git-version helper command
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
6138790e9c
commit
b03cecb28e
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue