From f4845c0ec7c8b63e4ce1ad740245345cc15ad953 Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Thu, 9 Jan 2025 09:42:16 +0900 Subject: [PATCH] fix(editorconfig-checker/editorconfig-checker): Re-scaffold the setting (#30735) * feat(editorconfig-checker/editorconfig-checker): scaffold editorconfig-checker/editorconfig-checker * fix(editorconfig-checker/editorconfig-checker): fix files --- .../editorconfig-checker/pkg.yaml | 8 ++- .../editorconfig-checker/registry.yaml | 69 +++++++++++++++---- registry.yaml | 69 +++++++++++++++---- 3 files changed, 121 insertions(+), 25 deletions(-) diff --git a/pkgs/editorconfig-checker/editorconfig-checker/pkg.yaml b/pkgs/editorconfig-checker/editorconfig-checker/pkg.yaml index cbf9546f106..b4a87df071e 100644 --- a/pkgs/editorconfig-checker/editorconfig-checker/pkg.yaml +++ b/pkgs/editorconfig-checker/editorconfig-checker/pkg.yaml @@ -1,6 +1,12 @@ packages: - - name: editorconfig-checker/editorconfig-checker@v3.0.3 + - name: editorconfig-checker/editorconfig-checker@v3.1.1 + - name: editorconfig-checker/editorconfig-checker + version: v3.0.3 - name: editorconfig-checker/editorconfig-checker version: 2.6.0 - name: editorconfig-checker/editorconfig-checker version: 2.5.0 + - name: editorconfig-checker/editorconfig-checker + version: 2.3.5 + - name: editorconfig-checker/editorconfig-checker + version: 1.1.0 diff --git a/pkgs/editorconfig-checker/editorconfig-checker/registry.yaml b/pkgs/editorconfig-checker/editorconfig-checker/registry.yaml index c897530f339..debffa41183 100644 --- a/pkgs/editorconfig-checker/editorconfig-checker/registry.yaml +++ b/pkgs/editorconfig-checker/editorconfig-checker/registry.yaml @@ -3,20 +3,65 @@ packages: - type: github_release repo_owner: editorconfig-checker repo_name: editorconfig-checker - asset: ec-{{.OS}}-{{.Arch}}.tar.gz description: A tool to verify that your files are in harmony with your .editorconfig files: - name: ec - src: bin/ec-{{.OS}}-{{.Arch}} - version_constraint: semver(">= 2.7.0") - overrides: - - goos: windows - asset: ec-windows-{{.Arch}}.exe.tar.gz + version_constraint: "false" version_overrides: - - version_constraint: semver(">= 2.6.0") - overrides: [] + - version_constraint: semver("<= 1.1.0") + asset: ec-{{.OS}}-{{.Arch}}.{{.Format}} + format: tar.gz + rosetta2: true + windows_arm_emulation: true + files: + - name: ec + src: bin/ec-{{.OS}}-{{.Arch}} + - version_constraint: semver("<= 2.3.5") + asset: ec-{{.OS}}-{{.Arch}}.{{.Format}} + format: tar.gz + rosetta2: true + windows_arm_emulation: true + files: + - name: ec + src: bin/ec-{{.OS}}-{{.Arch}} + overrides: + - goos: windows + asset: ec-{{.OS}}-{{.Arch}}.exe.{{.Format}} + - version_constraint: semver("<= 2.5.0") + asset: ec-{{.OS}}-{{.Arch}}.{{.Format}} + format: tar.gz + windows_arm_emulation: true + files: + - name: ec + src: bin/ec-{{.OS}}-{{.Arch}} + overrides: + - goos: windows + asset: ec-{{.OS}}-{{.Arch}}.exe.{{.Format}} + - version_constraint: Version == "2.6.0" + asset: ec-{{.OS}}-{{.Arch}}.{{.Format}} + format: tar.gz + files: + - name: ec + src: bin/ec-{{.OS}}-{{.Arch}} + - version_constraint: semver("<= 3.0.3") + asset: ec-{{.OS}}-{{.Arch}}.{{.Format}} + format: tar.gz + files: + - name: ec + src: bin/ec-{{.OS}}-{{.Arch}} + overrides: + - goos: windows + asset: ec-{{.OS}}-{{.Arch}}.exe.{{.Format}} - version_constraint: "true" - supported_envs: - - darwin - - linux - - amd64 + asset: ec-{{.OS}}-{{.Arch}}.{{.Format}} + format: tar.gz + files: + - name: ec + src: bin/ec-{{.OS}}-{{.Arch}} + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 + overrides: + - goos: windows + format: zip diff --git a/registry.yaml b/registry.yaml index 3df259b6b76..dad85871fb0 100644 --- a/registry.yaml +++ b/registry.yaml @@ -20123,23 +20123,68 @@ packages: - type: github_release repo_owner: editorconfig-checker repo_name: editorconfig-checker - asset: ec-{{.OS}}-{{.Arch}}.tar.gz description: A tool to verify that your files are in harmony with your .editorconfig files: - name: ec - src: bin/ec-{{.OS}}-{{.Arch}} - version_constraint: semver(">= 2.7.0") - overrides: - - goos: windows - asset: ec-windows-{{.Arch}}.exe.tar.gz + version_constraint: "false" version_overrides: - - version_constraint: semver(">= 2.6.0") - overrides: [] + - version_constraint: semver("<= 1.1.0") + asset: ec-{{.OS}}-{{.Arch}}.{{.Format}} + format: tar.gz + rosetta2: true + windows_arm_emulation: true + files: + - name: ec + src: bin/ec-{{.OS}}-{{.Arch}} + - version_constraint: semver("<= 2.3.5") + asset: ec-{{.OS}}-{{.Arch}}.{{.Format}} + format: tar.gz + rosetta2: true + windows_arm_emulation: true + files: + - name: ec + src: bin/ec-{{.OS}}-{{.Arch}} + overrides: + - goos: windows + asset: ec-{{.OS}}-{{.Arch}}.exe.{{.Format}} + - version_constraint: semver("<= 2.5.0") + asset: ec-{{.OS}}-{{.Arch}}.{{.Format}} + format: tar.gz + windows_arm_emulation: true + files: + - name: ec + src: bin/ec-{{.OS}}-{{.Arch}} + overrides: + - goos: windows + asset: ec-{{.OS}}-{{.Arch}}.exe.{{.Format}} + - version_constraint: Version == "2.6.0" + asset: ec-{{.OS}}-{{.Arch}}.{{.Format}} + format: tar.gz + files: + - name: ec + src: bin/ec-{{.OS}}-{{.Arch}} + - version_constraint: semver("<= 3.0.3") + asset: ec-{{.OS}}-{{.Arch}}.{{.Format}} + format: tar.gz + files: + - name: ec + src: bin/ec-{{.OS}}-{{.Arch}} + overrides: + - goos: windows + asset: ec-{{.OS}}-{{.Arch}}.exe.{{.Format}} - version_constraint: "true" - supported_envs: - - darwin - - linux - - amd64 + asset: ec-{{.OS}}-{{.Arch}}.{{.Format}} + format: tar.gz + files: + - name: ec + src: bin/ec-{{.OS}}-{{.Arch}} + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 + overrides: + - goos: windows + format: zip - type: github_release repo_owner: eficode repo_name: wait-for