From f53b1b7f4e7e966d40f0c48630cde528d681ad4f Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Tue, 9 Apr 2024 07:22:56 +0900 Subject: [PATCH] fix(oligot/go-mod-upgrade): follow up changes of go-mod-upgrade v0.10.0 (#21719) https://github.com/oligot/go-mod-upgrade/commit/afcc5855bc682264523d30144faf072d64d20c54 --- pkgs/oligot/go-mod-upgrade/pkg.yaml | 10 +- pkgs/oligot/go-mod-upgrade/registry.yaml | 111 +++++++++++++++++------ registry.yaml | 111 +++++++++++++++++------ 3 files changed, 167 insertions(+), 65 deletions(-) diff --git a/pkgs/oligot/go-mod-upgrade/pkg.yaml b/pkgs/oligot/go-mod-upgrade/pkg.yaml index 11215bd960..f8c795d4b7 100644 --- a/pkgs/oligot/go-mod-upgrade/pkg.yaml +++ b/pkgs/oligot/go-mod-upgrade/pkg.yaml @@ -1,14 +1,14 @@ packages: - - name: oligot/go-mod-upgrade@v0.9.1 + - name: oligot/go-mod-upgrade@v0.10.0 - name: oligot/go-mod-upgrade - version: v0.8.0 + version: v0.9.1 - name: oligot/go-mod-upgrade - version: v0.6.1 + version: v0.7.0 - name: oligot/go-mod-upgrade version: v0.6.0 - name: oligot/go-mod-upgrade - version: v0.4.0 + version: v0.5.0 - name: oligot/go-mod-upgrade - version: v0.1.1 + version: v0.3.0 - name: oligot/go-mod-upgrade version: v0.1.0 diff --git a/pkgs/oligot/go-mod-upgrade/registry.yaml b/pkgs/oligot/go-mod-upgrade/registry.yaml index 906788f73b..dc4ea29b49 100644 --- a/pkgs/oligot/go-mod-upgrade/registry.yaml +++ b/pkgs/oligot/go-mod-upgrade/registry.yaml @@ -3,47 +3,98 @@ packages: repo_owner: oligot repo_name: go-mod-upgrade description: Update outdated Go dependencies interactively - asset: go-mod-upgrade_{{trimV .Version}}_{{.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 - version_constraint: semver(">= 0.8.0") + version_constraint: "false" version_overrides: - - version_constraint: semver(">= 0.6.1") - supported_envs: - - darwin - - linux - - amd64 + - version_constraint: semver("<= 0.1.0") + asset: go-mod-upgrade_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz rosetta2: true - - version_constraint: semver(">= 0.6.0") - supported_envs: - - darwin - - linux - - amd64 - - version_constraint: semver(">= 0.4.0") + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 supported_envs: + - linux/amd64 - darwin - - linux - - amd64 + - version_constraint: semver("<= 0.3.0") + asset: go-mod-upgrade_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz rosetta2: true - - version_constraint: semver(">= 0.1.1") + windows_arm_emulation: true + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + windows: Windows + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 supported_envs: - darwin + - windows - amd64 + - version_constraint: semver("<= 0.5.0") + asset: go-mod-upgrade_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz rosetta2: true - - version_constraint: semver("< 0.1.1") + windows_arm_emulation: true replacements: amd64: x86_64 darwin: Darwin linux: Linux - supported_envs: - - linux/amd64 - - darwin + windows: Windows + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 + - version_constraint: Version == "v0.6.0" + asset: go-mod-upgrade_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz + windows_arm_emulation: true + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + windows: Windows + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 + - version_constraint: semver("<= 0.7.0") + asset: go-mod-upgrade_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz rosetta2: true + windows_arm_emulation: true + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + windows: Windows + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 + - version_constraint: semver("<= 0.9.1") + asset: go-mod-upgrade_{{trimV .Version}}_{{.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 + - version_constraint: "true" + asset: go-mod-upgrade_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 diff --git a/registry.yaml b/registry.yaml index a0236fc515..d6aad110cf 100644 --- a/registry.yaml +++ b/registry.yaml @@ -29955,50 +29955,101 @@ packages: repo_owner: oligot repo_name: go-mod-upgrade description: Update outdated Go dependencies interactively - asset: go-mod-upgrade_{{trimV .Version}}_{{.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 - version_constraint: semver(">= 0.8.0") + version_constraint: "false" version_overrides: - - version_constraint: semver(">= 0.6.1") - supported_envs: - - darwin - - linux - - amd64 + - version_constraint: semver("<= 0.1.0") + asset: go-mod-upgrade_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz rosetta2: true - - version_constraint: semver(">= 0.6.0") - supported_envs: - - darwin - - linux - - amd64 - - version_constraint: semver(">= 0.4.0") + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 supported_envs: + - linux/amd64 - darwin - - linux - - amd64 + - version_constraint: semver("<= 0.3.0") + asset: go-mod-upgrade_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz rosetta2: true - - version_constraint: semver(">= 0.1.1") + windows_arm_emulation: true + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + windows: Windows + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 supported_envs: - darwin + - windows - amd64 + - version_constraint: semver("<= 0.5.0") + asset: go-mod-upgrade_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz rosetta2: true - - version_constraint: semver("< 0.1.1") + windows_arm_emulation: true replacements: amd64: x86_64 darwin: Darwin linux: Linux - supported_envs: - - linux/amd64 - - darwin + windows: Windows + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 + - version_constraint: Version == "v0.6.0" + asset: go-mod-upgrade_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz + windows_arm_emulation: true + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + windows: Windows + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 + - version_constraint: semver("<= 0.7.0") + asset: go-mod-upgrade_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz rosetta2: true + windows_arm_emulation: true + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + windows: Windows + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 + - version_constraint: semver("<= 0.9.1") + asset: go-mod-upgrade_{{trimV .Version}}_{{.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 + - version_constraint: "true" + asset: go-mod-upgrade_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 - type: github_release repo_owner: ollama repo_name: ollama