Skip to content

Commit a07019e

Browse files
authored
refactor: rename files for consistency (#6625)
1 parent 509719e commit a07019e

File tree

6 files changed

+4
-4
lines changed

6 files changed

+4
-4
lines changed

DEVELOPMENT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ RUN hack/linter.sh
203203
ERRO Running error: no such linter "gocritic"
204204
```
205205

206-
re-run the `hack/install_golint.sh` script to upgrade `golangci-lint`.
206+
re-run the `hack/install-golint.sh` script to upgrade `golangci-lint`.
207207

208208
### Integration tests
209209

hack/boilerplate/boilerplate.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525

2626
SKIPPED_DIRS = ["Godeps", "third_party", ".git", "vendor", "examples", "testdata", "node_modules", "codelab"]
27-
SKIPPED_FILES = ["install_golint.sh", "skaffold.pb.go", "skaffold.pb.gw.go", "skaffold_grpc.pb.go", "enums.pb.go", "build.sh", "statik.go", "gitutil.go"]
27+
SKIPPED_FILES = ["install-golint.sh", "skaffold.pb.go", "skaffold.pb.gw.go", "skaffold_grpc.pb.go", "enums.pb.go", "build.sh", "statik.go", "gitutil.go"]
2828

2929
parser = argparse.ArgumentParser()
3030
parser.add_argument("filenames", help="list of files to check, all files if unspecified", nargs='*')

hack/golangci-lint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ VERSION=1.37.1
2222

2323
function install_linter() {
2424
echo "Installing GolangCI-Lint"
25-
${DIR}/install_golint.sh -b ${BIN} v$VERSION
25+
${DIR}/install-golint.sh -b ${BIN} v$VERSION
2626
}
2727

2828
if ! [ -x "$(command -v ${BIN}/golangci-lint)" ] ; then
File renamed without changes.
File renamed without changes.

hack/versions/pkg/schema/check.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ func RunSchemaCheckOnChangedFiles() error {
109109
fmt.Printf(" + Check if a new unreleased version has been created:\n")
110110
fmt.Printf(" - Ensure that your branch is up-to-date with the %q branch.\n", baseRef)
111111
fmt.Printf(" - Check for a pending PR to create a new version.\n")
112-
fmt.Printf(" + Create a separate PR with just the result of running the 'hack/new_version.sh' script.\n")
112+
fmt.Printf(" + Create a separate PR with just the result of running the 'hack/new-version.sh' script.\n")
113113

114114
filesInError = append(filesInError, configFile)
115115
}

0 commit comments

Comments
 (0)