mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-11 13:38:41 +02:00
fix: typo in testctx.WithConfig parameter (#5220)
The PR corrects a typo in the parameter of the `testctxt.WithCommit` function.
This commit is contained in:
parent
7d4671a1f2
commit
869ef71e66
@ -68,10 +68,10 @@ func WithCurrentTag(tag string) Opt {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func WithCommit(commig string) Opt {
|
func WithCommit(commit string) Opt {
|
||||||
return func(ctx *context.Context) {
|
return func(ctx *context.Context) {
|
||||||
ctx.Git.Commit = commig
|
ctx.Git.Commit = commit
|
||||||
ctx.Git.FullCommit = commig
|
ctx.Git.FullCommit = commit
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user