Skip to content

Commit 3c3664e

Browse files
authored
task: sanitize git log when building COMMIT variable (#1344)
1 parent 1b055e5 commit 3c3664e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Taskfile.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ vars:
224224
sh: echo `go list ./... | grep -v legacy | tr '\n' ' '`
225225
# build vars
226226
COMMIT:
227-
sh: echo "$(git log -n 1 --format=%h)"
227+
sh: echo "$(git log --no-show-signature -n 1 --format=%h)"
228228
TIMESTAMP:
229229
sh: echo "$(date -u +"%Y-%m-%dT%H:%M:%SZ")"
230230
TIMESTAMP_SHORT:

0 commit comments

Comments
 (0)