diff --git a/pkgs/cloverrose/connectnew/pkg.yaml b/pkgs/cloverrose/connectnew/pkg.yaml new file mode 100644 index 00000000000..174db63e3c7 --- /dev/null +++ b/pkgs/cloverrose/connectnew/pkg.yaml @@ -0,0 +1,2 @@ +packages: + - name: cloverrose/connectnew@v0.1.0 diff --git a/pkgs/cloverrose/connectnew/registry.yaml b/pkgs/cloverrose/connectnew/registry.yaml new file mode 100644 index 00000000000..d17f34d732f --- /dev/null +++ b/pkgs/cloverrose/connectnew/registry.yaml @@ -0,0 +1,27 @@ +packages: + - type: github_release + repo_owner: cloverrose + repo_name: connectnew + description: | + Go linter checking if &connect.Request or &connect.Response are used. + Instead connect.NewRequest or connect.NewResponse should be used + version_constraint: "false" + version_overrides: + - version_constraint: "true" + asset: connectnew_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz + files: + - name: connectnew + src: connectnew_{{.OS}}_{{.Arch}}/connectnew + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + windows: Windows + checksum: + type: github_release + asset: connectnew_{{trimV .Version}}_checksums.txt + algorithm: sha256 + overrides: + - goos: windows + format: zip diff --git a/registry.yaml b/registry.yaml index 6bf29939556..adb3ab9cab4 100644 --- a/registry.yaml +++ b/registry.yaml @@ -13879,6 +13879,32 @@ packages: type: github_release asset: checksums.txt algorithm: sha256 + - type: github_release + repo_owner: cloverrose + repo_name: connectnew + description: | + Go linter checking if &connect.Request or &connect.Response are used. + Instead connect.NewRequest or connect.NewResponse should be used + version_constraint: "false" + version_overrides: + - version_constraint: "true" + asset: connectnew_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz + files: + - name: connectnew + src: connectnew_{{.OS}}_{{.Arch}}/connectnew + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + windows: Windows + checksum: + type: github_release + asset: connectnew_{{trimV .Version}}_checksums.txt + algorithm: sha256 + overrides: + - goos: windows + format: zip - type: github_release repo_owner: cloverrose repo_name: pkgdep