Skip to content

Release v0.12.0

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Oct 19:22
· 108 commits to main since this release
Immutable release. Only release title and notes can be modified.
e53d3e7

What's Changed

Enhancements 🎉

  • support osc 9;4 progress bar for installer/runner scripts by @haya14busa in #240

Other Changes

  • 🔒 Update official install script (attested) by @github-actions[bot] in #243

Dependencies

  • chore(deps): bump chainguard-dev/actions from 1.5.1 to 1.5.2 by @dependabot[bot] in #232
  • chore(deps): bump github/codeql-action from 3.30.4 to 3.30.5 by @dependabot[bot] in #233
  • chore(deps): bump ossf/scorecard-action from 2.4.2 to 2.4.3 by @dependabot[bot] in #234
  • chore(deps): bump github.com/charmbracelet/fang from 0.4.2 to 0.4.3 by @dependabot[bot] in #236
  • chore(deps): bump github.com/goreleaser/goreleaser/v2 from 2.12.3 to 2.12.5 by @dependabot[bot] in #235
  • chore(deps): bump github/codeql-action from 3.30.5 to 3.30.6 by @dependabot[bot] in #237
  • chore(deps): bump actionutils/trusted-tag-verifier from 0.5.0 to 0.5.1 by @dependabot[bot] in #239

Full Changelog: v0.11.0...v0.12.0

📋 Release Verification Instructions

Verifying Release Artifacts

Using Cosign

All release artifacts are signed using Sigstore and can be verified using cosign:

# Download the release assets
gh release download v0.12.0 --repo binary-install/binstaller

# Verify the checksum file signature
cosign verify-blob \
  --certificate-identity-regexp '^https://github.com/actionutils/trusted-go-releaser/.github/workflows/trusted-release-workflow.yml@.*$' \
  --certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \
  --cert "checksums.txt.pem" \
  --signature "checksums.txt.sig" \
  "checksums.txt"

# Verify checksums of all binaries
sha256sum --ignore-missing -c "checksums.txt"

Using GitHub Attestations

All artifacts have GitHub Attestations that can be verified:

# Verify attestations for the checksum file
gh attestation verify "checksums.txt" --repo binary-install/binstaller --signer-workflow='actionutils/trusted-go-releaser/.github/workflows/trusted-release-workflow.yml'
📦 Installation Scripts

This release includes installation scripts generated by binstaller:

  • install.sh - Downloads and installs the binary
  • run.sh - Downloads and runs the binary directly

Verifying Installation Scripts

Before using the installation scripts, you can verify their authenticity using cosign (signatures) or GitHub Attestations.

# Download the scripts and their signatures
gh release download v0.12.0 --pattern "*.sh*" --repo binary-install/binstaller

# Verify with cosign (recommended)
cosign verify-blob \
  --certificate-identity-regexp '^https://github.com/actionutils/trusted-go-releaser/.github/workflows/trusted-release-workflow.yml@.*$' \
  --certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \
  --cert install.sh.pem \
  --signature install.sh.sig \
  install.sh

cosign verify-blob \
  --certificate-identity-regexp '^https://github.com/actionutils/trusted-go-releaser/.github/workflows/trusted-release-workflow.yml@.*$' \
  --certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \
  --cert run.sh.pem \
  --signature run.sh.sig \
  run.sh

# Or verify with GitHub Attestations
# Verify the install script
gh attestation verify install.sh --repo binary-install/binstaller --signer-workflow='actionutils/trusted-go-releaser/.github/workflows/trusted-release-workflow.yml'

# Verify the run script
gh attestation verify run.sh --repo binary-install/binstaller --signer-workflow='actionutils/trusted-go-releaser/.github/workflows/trusted-release-workflow.yml'

Using Installation Scripts

# Install the binary
curl -sSfL https://github.com/binary-install/binstaller/releases/download/v0.12.0/install.sh | sh

# Or run directly without installation
curl -sSfL https://github.com/binary-install/binstaller/releases/download/v0.12.0/run.sh | sh

One-liner Installation with Verification

Using Cosign (recommended)

# Set the desired version and script type
VERSION="v0.12.0"
SCRIPT="install.sh"  # or "run.sh"
DOWNLOAD_URL="https://github.com/binary-install/binstaller/releases/download/${VERSION}"

# Download and verify with cosign, then execute
curl -sL "${DOWNLOAD_URL}/${SCRIPT}" | \
    (tmpfile=$(mktemp); cat > "$tmpfile"; \
     cosign verify-blob \
       --certificate-identity-regexp '^https://github.com/actionutils/trusted-go-releaser/.github/workflows/trusted-release-workflow.yml@.*$' \
       --certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \
       --certificate "${DOWNLOAD_URL}/${SCRIPT}.pem" \
       --signature "${DOWNLOAD_URL}/${SCRIPT}.sig" \
       "$tmpfile" && \
     sh "$tmpfile"; rm -f "$tmpfile")

Using GitHub Attestations

# Set the desired version
VERSION="v0.12.0"

# Install with attestation verification
curl -sL "https://github.com/binary-install/binstaller/releases/download/${VERSION}/install.sh" | \
    (tmpfile=$(mktemp); cat > "$tmpfile"; \
     gh attestation verify --repo=binary-install/binstaller --signer-workflow='actionutils/trusted-go-releaser/.github/workflows/trusted-release-workflow.yml' "$tmpfile" && \
     sh "$tmpfile"; rm -f "$tmpfile")