diff --git a/pkgs/mjibson/sqlfmt/pkg.yaml b/pkgs/mjibson/sqlfmt/pkg.yaml index b7df05e5a79..e82837f66fb 100644 --- a/pkgs/mjibson/sqlfmt/pkg.yaml +++ b/pkgs/mjibson/sqlfmt/pkg.yaml @@ -1,2 +1,4 @@ packages: - - name: mjibson/sqlfmt@v0.4.0 + - name: mjibson/sqlfmt@v0.5.0 + - name: mjibson/sqlfmt + version: v0.1.0 diff --git a/pkgs/mjibson/sqlfmt/registry.yaml b/pkgs/mjibson/sqlfmt/registry.yaml index 641270a8ba2..d7f135210a1 100644 --- a/pkgs/mjibson/sqlfmt/registry.yaml +++ b/pkgs/mjibson/sqlfmt/registry.yaml @@ -2,17 +2,40 @@ packages: - type: github_release repo_owner: mjibson repo_name: sqlfmt - asset: sqlfmt_{{trimV .Version}}_{{.OS}}_{{.Arch}}.tar.gz description: SQL formatter with width-aware output + asset: sqlfmt_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz + overrides: + - goos: windows + format: zip + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + windows: Windows supported_envs: - darwin - amd64 rosetta2: true checksum: type: github_release - asset: sqlfmt_{{trimV .Version}}_checksums.txt + asset: checksums.txt file_format: regexp algorithm: sha256 pattern: checksum: "^(\\b[A-Fa-f0-9]{64}\\b)" file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$" + version_constraint: semver(">= 0.5.0") + version_overrides: + - version_constraint: semver("< 0.5.0") + asset: sqlfmt_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + overrides: [] + replacements: {} + checksum: + type: github_release + asset: sqlfmt_{{trimV .Version}}_checksums.txt + file_format: regexp + algorithm: sha256 + pattern: + checksum: "^(\\b[A-Fa-f0-9]{64}\\b)" + file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$" diff --git a/registry.yaml b/registry.yaml index 6d436248b58..3423c8a6b1b 100644 --- a/registry.yaml +++ b/registry.yaml @@ -15300,20 +15300,43 @@ packages: - type: github_release repo_owner: mjibson repo_name: sqlfmt - asset: sqlfmt_{{trimV .Version}}_{{.OS}}_{{.Arch}}.tar.gz description: SQL formatter with width-aware output + asset: sqlfmt_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz + overrides: + - goos: windows + format: zip + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + windows: Windows supported_envs: - darwin - amd64 rosetta2: true checksum: type: github_release - asset: sqlfmt_{{trimV .Version}}_checksums.txt + asset: checksums.txt file_format: regexp algorithm: sha256 pattern: checksum: "^(\\b[A-Fa-f0-9]{64}\\b)" file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$" + version_constraint: semver(">= 0.5.0") + version_overrides: + - version_constraint: semver("< 0.5.0") + asset: sqlfmt_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + overrides: [] + replacements: {} + checksum: + type: github_release + asset: sqlfmt_{{trimV .Version}}_checksums.txt + file_format: regexp + algorithm: sha256 + pattern: + checksum: "^(\\b[A-Fa-f0-9]{64}\\b)" + file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$" - type: github_release repo_owner: mkchoi212 repo_name: fac