Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dalance/procs): fix windows files to support v0.13.3 or later #7156

Merged
merged 1 commit into from
Oct 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion pkgs/dalance/procs/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
packages:
- name: dalance/procs@v0.13.2
- name: dalance/procs@v0.13.3
- name: dalance/procs
version: v0.13.2
19 changes: 13 additions & 6 deletions pkgs/dalance/procs/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ packages:
- type: github_release
repo_owner: dalance
repo_name: procs
asset: procs-{{.Version}}-{{.Arch}}-{{.OS}}.zip
description: A modern replacement for ps written in Rust
replacements:
amd64: x86_64
Expand All @@ -11,8 +10,16 @@ packages:
- darwin
- amd64
rosetta2: true
overrides:
- goos: windows
files:
- name: procs
src: target/x86_64-pc-windows-msvc/release/procs.exe
asset: procs-{{.Version}}-{{.Arch}}-{{.OS}}.zip
version_constraint: semver(">= 0.13.3")
version_overrides:
- version_constraint: "true"
# https://github.com/aquaproj/aqua-registry/pull/7156
# windows zip structure was changed from 0.13.3.
# https://github.com/dalance/procs/blob/master/CHANGELOG.md#v0133---2022-10-18
# > [Changed] Release zip for Windows has the exe at toplevel
overrides:
- goos: windows
files:
- name: procs
src: target/x86_64-pc-windows-msvc/release/procs.exe
19 changes: 13 additions & 6 deletions registry.yaml

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