mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-20 03:59:26 +02:00
fix: use long git arg for quiet (#1325)
This commit is contained in:
parent
a4c91105b5
commit
21df6b816f
@ -114,11 +114,11 @@ func validate(ctx *context.Context) error {
|
||||
}
|
||||
|
||||
func getShortCommit() (string, error) {
|
||||
return git.Clean(git.Run("show", "--format='%h'", "HEAD", "-q"))
|
||||
return git.Clean(git.Run("show", "--format='%h'", "HEAD", "--quiet"))
|
||||
}
|
||||
|
||||
func getFullCommit() (string, error) {
|
||||
return git.Clean(git.Run("show", "--format='%H'", "HEAD", "-q"))
|
||||
return git.Clean(git.Run("show", "--format='%H'", "HEAD", "--quiet"))
|
||||
}
|
||||
|
||||
func getTag() (string, error) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user