mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-05 13:15:26 +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) {
|
||||
ctx.Git.Commit = commig
|
||||
ctx.Git.FullCommit = commig
|
||||
ctx.Git.Commit = commit
|
||||
ctx.Git.FullCommit = commit
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user