cli/release extension

Generate a release for a precompiled gh extension

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 22, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: cli/gh-extension-precompile@76961aa3bd1123d0a6fd42d0a41aca0696937c39 # v2.2.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
build_script_overridePath to custom build script for producing binaries to upload
draft_releaseCreate a draft release
github_tokenGitHub token to use, defaults to `github.token` if unspecified
go_versionThe Go version to use for compiling (supports semver spec and ranges)
go_version_filePath to the go.mod or go.work file to determine version of go to use
gpg_fingerprintGPG fingerprint to use for signing releases
release_tagTag that the release should be created from, defaults to `github.ref` if unspecified
release_title_prefixTitle prefix of the release, defaults to repository name if unspecified
generate_attestationsWhether to generate artifact attestations for release binaries to establish build provenance, defaults to `false` if unspecifiedfalse
release_androidWhether to release android binaries, defaults to `false` if unspecifiedfalse
android_ndk_homePath to the Android NDK for android-amd64 and android-arm64 builds
android_sdk_versionAndroid SDK build-tools version
go_build_optionsAdditional options to pass to go build command (e.g., './cmd/my-extension' to specify source directory or '-tags production' for build tags)

no outputs