Skip to content

Commit

Permalink
fix(mjibson/sqlfmt): follow up changes of sqlfmt v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Mar 16, 2023
1 parent 2c0394e commit 64b6574
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 5 deletions.
4 changes: 3 additions & 1 deletion pkgs/mjibson/sqlfmt/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
packages:
- name: mjibson/sqlfmt@v0.4.0
- name: mjibson/sqlfmt@v0.5.0
- name: mjibson/sqlfmt
version: v0.1.0
27 changes: 25 additions & 2 deletions pkgs/mjibson/sqlfmt/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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+)$"
27 changes: 25 additions & 2 deletions registry.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 64b6574

Please sign in to comment.