Skip to content

Commit 967dd89

Browse files
committed
Renaming the generated plubgin
1 parent 30fdec9 commit 967dd89

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.goreleaser.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ builds:
1616
hooks:
1717
post:
1818
- mkdir -p ./dist/raw
19-
- cp "{{ .Path }}" "./dist/raw/{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
19+
- cp "{{ .Path }}" "./dist/raw/tflint-ruleset-uw-kafka-config_{{ .Os }}_{{ .Arch }}"
2020
archives:
2121
- id: zip
22-
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
22+
name_template: "tflint-ruleset-uw-kafka-config_{{ .Os }}_{{ .Arch }}"
2323
format: zip
2424
files:
2525
- none*

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ test:
44
go test ./...
55

66
build:
7-
go build
7+
go build -o tflint-ruleset-uw-kafka-config
88

99
install: build
1010
mkdir -p ~/.tflint.d/plugins
11-
mv ./tflint-ruleset-kafka-config ~/.tflint.d/plugins
11+
mv ./tflint-ruleset-uw-kafka-config ~/.tflint.d/plugins
1212

1313
lint:
1414
pre-commit run --all-files

main.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ import (
1010
func main() {
1111
plugin.Serve(&plugin.ServeOpts{
1212
RuleSet: &tflint.BuiltinRuleSet{
13-
Name: "kafka-config",
14-
Version: "0.1.0",
13+
Name: "uw-kafka-config",
1514
Rules: []tflint.Rule{
1615
rules.NewMskModuleBackendRule(),
1716
},

0 commit comments

Comments
 (0)