From 27fb08d5ba2dba5c3d59ee1c4531627330e8d43e Mon Sep 17 00:00:00 2001 From: Arsen Musayelyan Date: Sun, 6 Nov 2022 14:48:31 -0800 Subject: [PATCH] Make SKIP case-insensitive --- build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.go b/build.go index 2107842..8c9347d 100644 --- a/build.go +++ b/build.go @@ -474,7 +474,7 @@ func getSources(ctx context.Context, srcdir string, bv *BuildVars) error { EncloseGit: true, } - if bv.Checksums[i] != "SKIP" { + if !strings.EqualFold(bv.Checksums[i], "SKIP") { checksum, err := hex.DecodeString(bv.Checksums[i]) if err != nil { return err