Skip to content

Commit

Permalink
refactor(suzuki-shunsuke/mkghtag): refactor mkghtag (#27122)
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke authored Sep 23, 2024
1 parent 580f5d9 commit 5c2a3f8
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 46 deletions.
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.

0 comments on commit 5c2a3f8

Please sign in to comment.