Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Azure/aztfy): support aztfy >= 0.7.0 #6193

Merged
merged 1 commit into from
Sep 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 5 additions & 2 deletions pkgs/Azure/aztfy/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
packages:
- name: Azure/aztfy@v0.6.0
- name: Azure/aztfy@v0.6.0
- name: Azure/aztfy@v0.7.0
- name: Azure/aztfy
version: v0.6.0
- name: Azure/aztfy
version: v0.0.5
44 changes: 31 additions & 13 deletions pkgs/Azure/aztfy/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,30 @@ packages:
repo_owner: Azure
repo_name: aztfy
description: A tool to bring existing Azure resources under Terraform's management
version_constraint: semver(">= 0.0.6")
version_constraint: semver(">= 0.7.0")
asset: aztfy_{{.Version}}_{{.OS}}_{{.Arch}}.zip
checksum:
type: github_release
asset: aztfy_SHA256SUMS
file_format: regexp
algorithm: sha256
pattern:
checksum: ^(\b[A-Fa-f0-9]{64}\b)
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
supported_envs:
- darwin
- linux
- windows/amd64
version_overrides:
- version_constraint: semver(">= 0.0.6")
checksum:
type: github_release
asset: aztfy_{{.Version}}_SHA256SUMS
file_format: regexp
algorithm: sha256
pattern:
checksum: ^(\b[A-Fa-f0-9]{64}\b)
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
- version_constraint: "true"
asset: aztfy_{{trimV .Version}}_{{.OS}}_{{.Arch}}.tar.gz
replacements:
Expand All @@ -14,15 +35,12 @@ packages:
windows: Windows
386: i386
amd64: x86_64
supported_envs:
- darwin
- linux
- windows/amd64
checksum:
type: github_release
asset: aztfy_{{.Version}}_SHA256SUMS
file_format: regexp
algorithm: sha256
pattern:
checksum: ^(\b[A-Fa-f0-9]{64}\b)
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
checksum:
type: github_release
asset: checksums.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: ^(\b[A-Fa-f0-9]{64}\b)
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
supported_envs: []
44 changes: 31 additions & 13 deletions registry.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.