Skip to content

Commit

Permalink
fix(apache/maven-mvnd): change the package type to http (#26230)
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke authored Aug 24, 2024
1 parent b8b1af9 commit daa1cc9
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 13 deletions.
4 changes: 3 additions & 1 deletion pkgs/apache/maven-mvnd/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
packages:
- name: apache/[email protected]
- name: apache/[email protected]
- name: apache/maven-mvnd
version: 1.0.1
- name: apache/maven-mvnd
version: 1.0-m7
- name: apache/maven-mvnd
Expand Down
28 changes: 22 additions & 6 deletions pkgs/apache/maven-mvnd/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,20 +86,26 @@ packages:
- windows
- amd64
- version_constraint: Version == "1.0-m6"
asset: maven-mvnd-{{.Version}}-m39-{{.OS}}-{{.Arch}}.{{.Format}}
type: http
url: https://downloads.apache.org/maven/mvnd/{{.Version}}/maven-mvnd-{{.Version}}-m39-{{.OS}}-{{.Arch}}.{{.Format}}
format: tar.gz
windows_arm_emulation: true
files:
- name: mvnd
src: "{{.AssetWithoutExt}}/bin/mvnd"
replacements:
arm64: aarch64
checksum:
type: http
url: https://downloads.apache.org/maven/mvnd/{{.Version}}/maven-mvnd-{{.Version}}-m39-{{.OS}}-{{.Arch}}.{{.Format}}.sha256
algorithm: sha256
supported_envs:
- darwin
- windows
- amd64
- version_constraint: Version == "1.0-m7"
asset: maven-mvnd-{{.Version}}-m39-{{.OS}}-{{.Arch}}.{{.Format}}
type: http
url: https://downloads.apache.org/maven/mvnd/{{.Version}}/maven-mvnd-{{.Version}}-m39-{{.OS}}-{{.Arch}}.{{.Format}}
format: tar.gz
windows_arm_emulation: true
files:
Expand All @@ -108,35 +114,45 @@ packages:
replacements:
arm64: aarch64
checksum:
type: github_release
asset: "{{.Asset}}.sha256"
type: http
url: https://downloads.apache.org/maven/mvnd/{{.Version}}/maven-mvnd-{{.Version}}-m39-{{.OS}}-{{.Arch}}.{{.Format}}.sha256
algorithm: sha256
supported_envs:
- darwin
- windows
- amd64
- version_constraint: Version == "1.0-m8"
asset: maven-mvnd-{{.Version}}-m39-{{.OS}}-{{.Arch}}.{{.Format}}
type: http
url: https://downloads.apache.org/maven/mvnd/{{.Version}}/maven-mvnd-{{.Version}}-m39-{{.OS}}-{{.Arch}}.{{.Format}}
format: tar.gz
windows_arm_emulation: true
files:
- name: mvnd
src: "{{.AssetWithoutExt}}/bin/mvnd"
replacements:
arm64: aarch64
checksum:
type: http
url: https://downloads.apache.org/maven/mvnd/{{.Version}}/maven-mvnd-{{.Version}}-m39-{{.OS}}-{{.Arch}}.{{.Format}}.sha256
algorithm: sha256
supported_envs:
- darwin
- windows
- amd64
- version_constraint: "true"
asset: maven-mvnd-{{.Version}}-{{.OS}}-{{.Arch}}.{{.Format}}
type: http
url: https://downloads.apache.org/maven/mvnd/{{.Version}}/maven-mvnd-{{.Version}}-{{.OS}}-{{.Arch}}.{{.Format}}
format: tar.gz
windows_arm_emulation: true
files:
- name: mvnd
src: "{{.AssetWithoutExt}}/bin/mvnd"
replacements:
arm64: aarch64
checksum:
type: http
url: https://downloads.apache.org/maven/mvnd/{{.Version}}/maven-mvnd-{{.Version}}-{{.OS}}-{{.Arch}}.{{.Format}}.sha256
algorithm: sha256
supported_envs:
- darwin
- windows
Expand Down
28 changes: 22 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 daa1cc9

Please sign in to comment.