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

refactor(suzuki-shunsuke/mkghtag): refactor mkghtag #27122

Merged
merged 1 commit into from
Sep 23, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 43 additions & 23 deletions pkgs/suzuki-shunsuke/mkghtag/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,53 @@ packages:
repo_owner: suzuki-shunsuke
repo_name: mkghtag
description: CLI to create GitHub Tags via API
asset: mkghtag_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
overrides:
- goos: windows
format: zip
slsa_provenance:
type: github_release
asset: multiple.intoto.jsonl
checksum:
type: github_release
asset: mkghtag_{{trimV .Version}}_checksums.txt
algorithm: sha256
cosign:
opts:
- --certificate-identity-regexp
- "https://github\\.com/suzuki-shunsuke/go-release-workflow/\\.github/workflows/release\\.yaml@.*"
- --certificate-oidc-issuer
- "https://token.actions.githubusercontent.com"
- --signature
- https://github.com/suzuki-shunsuke/mkghtag/releases/download/{{.Version}}/mkghtag_{{trimV .Version}}_checksums.txt.sig
- --certificate
- https://github.com/suzuki-shunsuke/mkghtag/releases/download/{{.Version}}/mkghtag_{{trimV .Version}}_checksums.txt.pem
version_constraint: semver("> 0.1.0")
version_constraint: "false"
version_overrides:
- version_constraint: semver("<= 0.1.0")
asset: mkghtag_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
slsa_provenance:
type: github_release
asset: multiple.intoto.jsonl
checksum:
type: github_release
asset: mkghtag_{{trimV .Version}}_checksums.txt
algorithm: sha256
cosign:
opts:
- --certificate-identity-regexp
- "https://github\\.com/suzuki-shunsuke/go-release-workflow/\\.github/workflows/release\\.yaml@.*"
- --certificate-oidc-issuer
- "https://token.actions.githubusercontent.com"
- --signature
- https://github.com/suzuki-shunsuke/mkghtag/releases/download/{{.Version}}/mkghtag_{{trimV .Version}}_checksums.txt.sig
- --certificate
- https://github.com/suzuki-shunsuke/mkghtag/releases/download/{{.Version}}/mkghtag_{{trimV .Version}}_checksums.txt.pem
overrides:
- goos: windows
format: zip
slsa_provenance:
enabled: false
- version_constraint: "true"
asset: mkghtag_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
overrides:
- goos: windows
format: zip
slsa_provenance:
type: github_release
asset: multiple.intoto.jsonl
checksum:
type: github_release
asset: mkghtag_{{trimV .Version}}_checksums.txt
algorithm: sha256
cosign:
opts:
- --certificate-identity-regexp
- "https://github\\.com/suzuki-shunsuke/go-release-workflow/\\.github/workflows/release\\.yaml@.*"
- --certificate-oidc-issuer
- "https://token.actions.githubusercontent.com"
- --signature
- https://github.com/suzuki-shunsuke/mkghtag/releases/download/{{.Version}}/mkghtag_{{trimV .Version}}_checksums.txt.sig
- --certificate
- https://github.com/suzuki-shunsuke/mkghtag/releases/download/{{.Version}}/mkghtag_{{trimV .Version}}_checksums.txt.pem
66 changes: 43 additions & 23 deletions registry.yaml

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