diff --git a/pkgs/trzsz/trzsz-go/pkg.yaml b/pkgs/trzsz/trzsz-go/pkg.yaml new file mode 100644 index 00000000000..f7721740843 --- /dev/null +++ b/pkgs/trzsz/trzsz-go/pkg.yaml @@ -0,0 +1,6 @@ +packages: + - name: trzsz/trzsz-go@v1.2.0 + - name: trzsz/trzsz-go + version: v0.1.8 + - name: trzsz/trzsz-go + version: v0.1.7 diff --git a/pkgs/trzsz/trzsz-go/registry.yaml b/pkgs/trzsz/trzsz-go/registry.yaml new file mode 100644 index 00000000000..3ff402fe514 --- /dev/null +++ b/pkgs/trzsz/trzsz-go/registry.yaml @@ -0,0 +1,57 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/aquaproj/aqua/main/json-schema/registry.json +packages: + - type: github_release + repo_owner: trzsz + repo_name: trzsz-go + description: trzsz-go is the go version of trzsz, makes all terminals that support local shell to support trzsz ( trz / tsz ) + files: + - name: trzsz + src: "{{.AssetWithoutExt}}/trzsz" + - name: trz + src: "{{.AssetWithoutExt}}/trz" + - name: tsz + src: "{{.AssetWithoutExt}}/tsz" + version_constraint: "false" + version_overrides: + - version_constraint: Version == "v0.1.8" + asset: trzsz_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz + replacements: + amd64: x86_64 + arm64: aarch64 + darwin: macos + overrides: + - goos: windows + format: zip + - version_constraint: semver("<= 0.1.7") + asset: trzsz_{{.OS}}_{{.Arch}}.{{.Format}} + files: + - name: trzsz + src: "bin/trzsz" + - name: trz + src: "bin/trz" + - name: tsz + src: "bin/tsz" + format: zip + rosetta2: true + windows_arm_emulation: true + replacements: + darwin: macos + supported_envs: + - darwin + - windows + - amd64 + - version_constraint: "true" + asset: trzsz_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz + replacements: + amd64: x86_64 + arm64: aarch64 + darwin: macos + checksum: + type: github_release + asset: trzsz_{{trimV .Version}}_checksums.txt + algorithm: sha256 + overrides: + - goos: windows + format: zip diff --git a/registry.yaml b/registry.yaml index 623413bdca4..170d64dbab8 100644 --- a/registry.yaml +++ b/registry.yaml @@ -88931,6 +88931,61 @@ packages: complete_windows_ext: false files: - name: trunk + - type: github_release + repo_owner: trzsz + repo_name: trzsz-go + description: trzsz-go is the go version of trzsz, makes all terminals that support local shell to support trzsz ( trz / tsz ) + files: + - name: trzsz + src: "{{.AssetWithoutExt}}/trzsz" + - name: trz + src: "{{.AssetWithoutExt}}/trz" + - name: tsz + src: "{{.AssetWithoutExt}}/tsz" + version_constraint: "false" + version_overrides: + - version_constraint: Version == "v0.1.8" + asset: trzsz_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz + replacements: + amd64: x86_64 + arm64: aarch64 + darwin: macos + overrides: + - goos: windows + format: zip + - version_constraint: semver("<= 0.1.7") + asset: trzsz_{{.OS}}_{{.Arch}}.{{.Format}} + files: + - name: trzsz + src: "bin/trzsz" + - name: trz + src: "bin/trz" + - name: tsz + src: "bin/tsz" + format: zip + rosetta2: true + windows_arm_emulation: true + replacements: + darwin: macos + supported_envs: + - darwin + - windows + - amd64 + - version_constraint: "true" + asset: trzsz_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz + replacements: + amd64: x86_64 + arm64: aarch64 + darwin: macos + checksum: + type: github_release + asset: trzsz_{{trimV .Version}}_checksums.txt + algorithm: sha256 + overrides: + - goos: windows + format: zip - type: github_release repo_owner: trzsz repo_name: trzsz-ssh