Skip to content

ngit release publish

publish a new release or explicitly edit an existing release

Parent command: ngit release

Related guide: Releases

Upcoming command surface

This page is generated from an unreleased ngit commit. Its interface may change before the next release.

Usage

text
Usage: ngit release publish [OPTIONS] <VERSION>

Arguments and options

InputDescriptionDetails
<VERSION>Exact release version; identifiers are not normalizedrequired
--app <APP>Application identifier, naddr, or application coordinate
--channel <CHANNEL>Release channel (defaults to main when creating)
--notes <TEXT>Release notesconflicts with --notes-file <PATH>
--notes-file <PATH>Read release notes from a fileconflicts with --notes <TEXT>
--released-at <UNIX_SECONDS>Release date as Unix seconds (defaults to now when creating)
--tag <TAG>Git tag used for {tag} manifest expansion
--commit <COMMIT>Git commit represented by this release (defaults to HEAD when creating)
--manifest <PATH>Release assets and publication defaults; creation also discovers .ngit/release.yaml
--asset <PLATFORM=URL>Add a URL-backed asset as PLATFORM=URL (repeatable)repeatable
--file <[PLATFORM=]PATH>Upload PATH, or use PLATFORM=PATH shorthand (repeatable)repeatable
--platform <PLATFORM>Target platform for one bare --file PATH (repeatable)repeatable
--asset-event <ASSET>Reuse an existing kind 3063 asset event (repeatable)repeatable
--platform-agnostic-asset <URL>Add a URL-backed asset with no target platform (repeatable)repeatable
--platform-agnostic-file <PATH>Upload a local platform-agnostic asset to Blossom (repeatable)repeatable
--accept-platform-agnostic-assetsAcknowledge reused asset events which have no platform tags
--add-application-platformsAdd release-only platforms to the replaceable application event
--allow-partial-platformsPermit a non-main release to omit application platforms
--blossom-server <URL>Override kind-10063 discovery with an ordered Blossom server (repeatable)repeatable
--editExplicitly replace an existing release; never creates a missing release
--strict-metadataTreat metadata warnings as errors
--relay <URL>Extend discovery and publication with a relay (repeatable)repeatable
--zapstore-relayAlso publish to the Zapstore catalog relay; does not change Blossom
--jsonOutput as JSON
-n, --nsec <NSEC>nsec or hex private keyglobal; conflicts with --nbunksec <NBUNKSEC>, --nbunksec-file <PATH>, --nsec-file <PATH>, --signer <NPUB|ALIAS|NAME>
--nsec-file <PATH>read an nsec or hex private key from a path resolving to a regular fileglobal; conflicts with --nbunksec <NBUNKSEC>, --nbunksec-file <PATH>, -n, --nsec <NSEC>, --signer <NPUB|ALIAS|NAME>
--nbunksec <NBUNKSEC>established remote signer connection encoded as nbunksecglobal; conflicts with --nbunksec-file <PATH>, -n, --nsec <NSEC>, --nsec-file <PATH>, --signer <NPUB|ALIAS|NAME>
--nbunksec-file <PATH>read an nbunksec connection from a path resolving to a regular fileglobal; conflicts with --nbunksec <NBUNKSEC>, -n, --nsec <NSEC>, --nsec-file <PATH>, --signer <NPUB|ALIAS|NAME>
--signer <NPUB|ALIAS|NAME>use a configured signer by npub, alias, or cached profile name for this commandglobal; conflicts with --nbunksec <NBUNKSEC>, --nbunksec-file <PATH>, -n, --nsec <NSEC>, --nsec-file <PATH>
-c, --customizeshow customization options via git configglobal
-d, --defaultsUse default values without prompting (non-interactive mode)global; conflicts with -i, --interactive
-i, --interactiveEnable interactive prompts (default behavior)global; conflicts with -d, --defaults
-f, --forceForce operations, bypass safety guardsglobal
-v, --verboseEnable verbose outputglobal
--repo-relay-onlyOnly publish nostr events to repository relays, not user or default relaysglobal
--repo <REMOTE|NADDR|NOSTR-URL>Target repository for repo-scoped operations. Accepts a configured nostr:// remote name, an naddr, or a nostr:// URL. Overrides nostr.repo, tracked-upstream, and remote-based auto-detection. Available at any command position: ngit --repo upstream send ngit issue --repo upstream create ngit issue create --repo upstreamglobal
-h, --helpPrint help (see a summary with '-h')
-V, --versionPrint version

Git collaboration, without the platform.