Skip to content

Commit

Permalink
fix(dlvhdr/gh-dash): follow up changes of gh-dash v4.0.0 (#23254)
Browse files Browse the repository at this point in the history
* feat(dlvhdr/gh-dash): scaffold dlvhdr/gh-dash

* fix(dlvhdr/gh-dash): fix replacements
  • Loading branch information
suzuki-shunsuke authored May 24, 2024
1 parent 810bb2c commit 57ff4bb
Show file tree
Hide file tree
Showing 3 changed files with 167 additions and 107 deletions.
14 changes: 9 additions & 5 deletions pkgs/dlvhdr/gh-dash/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
packages:
- name: dlvhdr/[email protected]
- name: dlvhdr/[email protected]
- name: dlvhdr/gh-dash
version: v3.14.0
- name: dlvhdr/gh-dash
version: v3.7.5
- name: dlvhdr/gh-dash
Expand All @@ -9,10 +11,12 @@ packages:
- name: dlvhdr/gh-dash
version: v3.7.0
- name: dlvhdr/gh-dash
version: v1.2.3
version: v3.1.3
- name: dlvhdr/gh-dash
version: v1.2.2
version: v3.0.0
- name: dlvhdr/gh-dash
version: v1.2.1
version: v2.1.0
- name: dlvhdr/gh-dash
version: v1.2.2
- name: dlvhdr/gh-dash
version: v1.0.3
version: v1.1.1
130 changes: 79 additions & 51 deletions pkgs/dlvhdr/gh-dash/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,72 +3,100 @@ packages:
repo_owner: dlvhdr
repo_name: gh-dash
description: A beautiful CLI dashboard for GitHub
version_constraint: semver(">= 3.7.6")
checksum:
type: github_release
asset: checksums.txt
algorithm: sha256
asset: "{{.OS}}-{{.Arch}}"
format: raw
version_constraint: "false"
version_overrides:
- version_constraint: semver("= 3.7.5")
asset: "{{.OS}}_{{.Arch}}.{{.Format}}"
format: tar.gz
overrides:
- goos: windows
format: zip
- version_constraint: semver("= 3.7.4")
asset: gh-dash_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
overrides:
- goos: windows
format: zip
- version_constraint: Version == "v3.7.3-next"
asset: gh-dash_{{title .OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
replacements:
amd64: x86_64
overrides:
- goos: windows
format: zip
- version_constraint: semver("= 1.2.3")
checksum:
enabled: false
supported_envs:
- darwin
- amd64
complete_windows_ext: false
- version_constraint: semver("= 1.2.2")
checksum:
enabled: false
replacements:
amd64: x86_64
supported_envs:
- darwin
- amd64
- version_constraint: semver("<= 1.0.0")
no_asset: true
- version_constraint: semver("<= 1.1.1")
asset: "{{.OS}}-{{.Arch}}"
format: raw
rosetta2: true
windows_arm_emulation: true
- version_constraint: semver("<= 1.2.2")
asset: "{{.OS}}-{{.Arch}}"
format: raw
windows_arm_emulation: true
complete_windows_ext: false
overrides:
- goos: darwin
replacements:
amd64: amd64
- version_constraint: semver("= 1.2.1")
checksum:
enabled: false
replacements:
amd64: x86_64
supported_envs:
- darwin
- windows
- amd64
- version_constraint: semver("<= 2.1.0")
asset: "{{.OS}}-{{.Arch}}"
format: raw
windows_arm_emulation: true
complete_windows_ext: false
- version_constraint: semver("= 1.0.3")
checksum:
enabled: false
supported_envs:
- darwin
- linux
- windows
- amd64
rosetta2: true
- version_constraint: semver("<= 3.0.0")
asset: "{{.OS}}-{{.Arch}}"
format: raw
windows_arm_emulation: true
supported_envs:
- darwin
- windows
- amd64
- version_constraint: semver("<= 3.1.3")
asset: "{{.OS}}-{{.Arch}}"
format: raw
windows_arm_emulation: true
- version_constraint: semver("<= 3.7.0")
asset: "{{.OS}}-{{.Arch}}"
format: raw
- version_constraint: Version == "v3.7.3-next"
asset: gh-dash_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
replacements:
amd64: x86_64
darwin: Darwin
linux: Linux
windows: Windows
checksum:
type: github_release
asset: checksums.txt
algorithm: sha256
overrides:
- goos: windows
format: zip
- version_constraint: Version == "v3.7.4"
asset: gh-dash_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
checksum:
type: github_release
asset: checksums.txt
algorithm: sha256
overrides:
- goos: windows
format: zip
- version_constraint: Version == "v3.7.5"
asset: "{{.OS}}_{{.Arch}}.{{.Format}}"
format: tar.gz
checksum:
enabled: false
type: github_release
asset: checksums.txt
algorithm: sha256
overrides:
- goos: windows
format: zip
- version_constraint: semver("<= 3.14.0")
asset: "{{.OS}}-{{.Arch}}"
format: raw
checksum:
type: github_release
asset: checksums.txt
algorithm: sha256
- version_constraint: "true"
asset: gh-dash_{{.Version}}_{{.OS}}-{{.Arch}}
format: raw
checksum:
type: github_release
asset: checksums.txt
algorithm: sha256
130 changes: 79 additions & 51 deletions registry.yaml

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

0 comments on commit 57ff4bb

Please sign in to comment.