/** * terrably publish * * Packages per-platform provider binaries into the exact file layout required * by the Terraform Registry, optionally signs the checksum file with GPG, and * optionally creates/updates a GitHub Release. * * Required release asset layout (from the Terraform Registry publishing docs): * * terraform-provider-{name}_{version}_{os}_{arch}.zip * └─ terraform-provider-{name}_v{version}[.exe] ← binary inside zip * * terraform-provider-{name}_{version}_manifest.json * terraform-provider-{name}_{version}_SHA256SUMS * terraform-provider-{name}_{version}_SHA256SUMS.sig ← binary GPG detach-sign * * Binary detection (--binaries-dir): * Files must be named `terraform-provider-{name}_{os}_{arch}[.exe]`. * Supported os/arch values mirror the official goreleaser recommendation: * linux_{amd64,arm64,arm,386} * darwin_{amd64,arm64} * windows_{amd64,386} (.exe extension required) * freebsd_{amd64,386,arm} */ export interface PublishOptions { version?: string; name?: string; binariesDir?: string; out?: string; protocolVersion?: string; gpgKey?: string; githubRelease?: boolean; draft?: boolean; tag?: string; /** Comma-separated list of extra files to upload as release assets (relative to provider root). Not included in SHA256SUMS. */ extraAssets?: string; } export declare function publishCommand(options: PublishOptions): Promise; //# sourceMappingURL=publish.d.ts.map