Skip to content

Commit

Permalink
Merge pull request #7156 from aquaproj/fix/procs-windows-0133
Browse files Browse the repository at this point in the history
fix(dalance/procs): fix windows files to support v0.13.3 or later
  • Loading branch information
suzuki-shunsuke committed Oct 18, 2022
2 parents f1faddd + f4de359 commit 291658d
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 13 deletions.
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.

0 comments on commit 291658d

Please sign in to comment.