Skip to content

Commit

Permalink
fix(hashicorp/copywrite): follow up changes of copywrite v0.16.6
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Sep 28, 2023
1 parent 5f7dbfc commit d292331
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 15 deletions.
4 changes: 3 additions & 1 deletion pkgs/hashicorp/copywrite/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
packages:
- name: hashicorp/[email protected]
- name: hashicorp/[email protected]
- name: hashicorp/copywrite
version: v0.16.5
- name: hashicorp/copywrite
version: v0.13.0
15 changes: 8 additions & 7 deletions pkgs/hashicorp/copywrite/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,24 @@ packages:
repo_owner: hashicorp
repo_name: copywrite
description: Automate copyright headers and license files at scale
asset: copywrite_{{.OS}}_{{.Arch}}.{{.Format}}
asset: copywrite_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
overrides:
- goos: windows
format: zip
replacements:
amd64: x86_64
darwin: Darwin
linux: Linux
windows: Windows
checksum:
type: github_release
asset: SHA256SUMS
algorithm: sha256
version_constraint: semver(">= 0.16.5")
version_constraint: semver(">= 0.16.6")
version_overrides:
- version_constraint: semver("< 0.16.5")
asset: copywrite_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}}
- version_constraint: Version == "v0.16.5"
asset: copywrite_{{.OS}}_{{.Arch}}.{{.Format}}
replacements:
amd64: x86_64
darwin: Darwin
linux: Linux
windows: Windows
- version_constraint: semver("< 0.16.5")
15 changes: 8 additions & 7 deletions registry.yaml

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

0 comments on commit d292331

Please sign in to comment.