From 54052afc5e82da518f282d9e91d24e09b29f13b2 Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Sun, 21 May 2023 16:22:10 +0900 Subject: [PATCH] fix(Byron/dua-cli): update settings by aqua-registry scaffold --deep (#12325) * fix(Byron/dua-cli): update settings by aqua-registry scaffold --deep * chore: pin version --- .github/workflows/test.yaml | 2 +- pkgs/Byron/dua-cli/pkg.yaml | 10 ++++++++ pkgs/Byron/dua-cli/registry.yaml | 43 ++++++++++++++++++++++++++------ registry.yaml | 43 ++++++++++++++++++++++++++------ 4 files changed, 83 insertions(+), 15 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 5d962f5e791..ebdd444924c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -189,7 +189,7 @@ jobs: env: AQUA_GITHUB_TOKEN: ${{github.token}} - - uses: aquaproj/registry-action/test@fix/ignore-crates-io + - uses: aquaproj/registry-action/test@dff21577b6ec277b2645a7a40db12eeb15b4c581 # v0.2.0 with: goos: ${{ matrix.env.goos }} goarch: ${{ matrix.env.goarch }} diff --git a/pkgs/Byron/dua-cli/pkg.yaml b/pkgs/Byron/dua-cli/pkg.yaml index 2b7c093e7cf..6bb4f165fae 100644 --- a/pkgs/Byron/dua-cli/pkg.yaml +++ b/pkgs/Byron/dua-cli/pkg.yaml @@ -1,2 +1,12 @@ packages: - name: Byron/dua-cli@v2.20.1 + - name: Byron/dua-cli + version: v2.20.0 + - name: Byron/dua-cli + version: v2.10.4 + - name: Byron/dua-cli + version: v2.10.3 + - name: Byron/dua-cli + version: v2.6.0 + - name: Byron/dua-cli + version: 2.1.13 diff --git a/pkgs/Byron/dua-cli/registry.yaml b/pkgs/Byron/dua-cli/registry.yaml index 42b84c8dcae..2bfcbd49d61 100644 --- a/pkgs/Byron/dua-cli/registry.yaml +++ b/pkgs/Byron/dua-cli/registry.yaml @@ -2,21 +2,50 @@ packages: - type: github_release repo_owner: Byron repo_name: dua-cli + description: View disk space usage and delete unwanted data, fast asset: dua-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}} + files: + - name: dua + src: dua-{{.Version}}-{{.Arch}}-{{.OS}}/dua format: tar.gz - description: View disk space usage and delete unwanted data, fast + overrides: + - goos: windows + format: zip replacements: amd64: x86_64 darwin: apple-darwin linux: unknown-linux-musl windows: pc-windows-msvc - overrides: - - goos: windows - format: zip supported_envs: - darwin - amd64 rosetta2: true - files: - - name: dua - src: dua-{{.Version}}-{{.Arch}}-{{.OS}}/dua + version_constraint: semver(">= 2.20.1") + version_overrides: + - version_constraint: semver(">= 2.20.0") + format: zip + overrides: + - goos: darwin + format: tar.gz + replacements: + amd64: x86_64 + darwin: apple-darwin + windows: pc-windows-msvc + supported_envs: + - darwin + - windows/amd64 + - version_constraint: semver(">= 2.10.4") + - version_constraint: semver(">= 2.10.3") + overrides: [] + - version_constraint: semver(">= 2.6.0") + - version_constraint: semver("< 2.6.0") + files: + - name: dua + overrides: [] + replacements: + amd64: x86_64 + darwin: apple-darwin + linux: unknown-linux-musl + supported_envs: + - linux/amd64 + - darwin diff --git a/registry.yaml b/registry.yaml index 959d312b64e..54e65289aa8 100644 --- a/registry.yaml +++ b/registry.yaml @@ -402,24 +402,53 @@ packages: - type: github_release repo_owner: Byron repo_name: dua-cli + description: View disk space usage and delete unwanted data, fast asset: dua-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}} + files: + - name: dua + src: dua-{{.Version}}-{{.Arch}}-{{.OS}}/dua format: tar.gz - description: View disk space usage and delete unwanted data, fast + overrides: + - goos: windows + format: zip replacements: amd64: x86_64 darwin: apple-darwin linux: unknown-linux-musl windows: pc-windows-msvc - overrides: - - goos: windows - format: zip supported_envs: - darwin - amd64 rosetta2: true - files: - - name: dua - src: dua-{{.Version}}-{{.Arch}}-{{.OS}}/dua + version_constraint: semver(">= 2.20.1") + version_overrides: + - version_constraint: semver(">= 2.20.0") + format: zip + overrides: + - goos: darwin + format: tar.gz + replacements: + amd64: x86_64 + darwin: apple-darwin + windows: pc-windows-msvc + supported_envs: + - darwin + - windows/amd64 + - version_constraint: semver(">= 2.10.4") + - version_constraint: semver(">= 2.10.3") + overrides: [] + - version_constraint: semver(">= 2.6.0") + - version_constraint: semver("< 2.6.0") + files: + - name: dua + overrides: [] + replacements: + amd64: x86_64 + darwin: apple-darwin + linux: unknown-linux-musl + supported_envs: + - linux/amd64 + - darwin - type: github_release repo_owner: Cian911 repo_name: switchboard