[{"data":1,"prerenderedAt":388,"buildId":389},["ShallowReactive",2],{"-en-guides-releasing":3,"-en-guides-releasing-surround":333,"navigation_docs_en":344},{"id":4,"title":5,"body":6,"description":315,"extension":325,"links":326,"meta":327,"navigation":328,"path":329,"seo":330,"stem":331,"__hash__":332},"docs_en\u002Fen\u002Fguides\u002F3.releasing.md","Releasing",{"type":7,"value":8,"toc":314},"minimark",[9,14,29,34,49,75,83,87,131,138,142,211,222,226,232],[10,11,13],"h2",{"id":12},"before-release","Before release",[15,16,17,18,23,24,28],"p",{},"Preview the version and release notes with ",[19,20,22],"a",{"href":21},"\u002Fen\u002Fguides\u002Frelease-it","release-it"," and ",[25,26,27],"code",{},"--dry-run",". If an upgrade requires code or configuration changes, describe them in the changelog.",[30,31,33],"h3",{"id":32},"npm-trusted-publishing","npm Trusted Publishing",[15,35,36,37,40,41,44,45,48],{},"Register the GitHub owner, repository, filename of the workflow calling ",[25,38,39],{},"publish.yml"," and matching GitHub environment with npm. In ",[25,42,43],{},"package.json",", ",[25,46,47],{},"repository"," must match the public repository, including case.",[15,50,51,52,55,56,58,59,62,63,66,67,70,71,74],{},"For a subpackage, point ",[25,53,54],{},"setup.working-directory"," at the package directory. You can also record its location in ",[25,57,43],{}," with ",[25,60,61],{},"repository.directory",". ",[25,64,65],{},"npm.tag-prefix"," defaults to ",[25,68,69],{},"v",". Set it only if your tags use another prefix, such as ",[25,72,73],{},"widget@",".",[15,76,77,78,82],{},"A root package uses the default working directory. See the ",[19,79,81],{"href":80},"\u002Fen\u002Fexamples\u002Fmonorepo","monorepo example"," for a package subdirectory, an isolated installation test and package-scoped tags.",[10,84,86],{"id":85},"release-sequence","Release sequence",[88,89,90,101,111,125],"ol",{},[91,92,93,97,98,100],"li",{},[94,95,96],"strong",{},"Push the tag."," From a clean worktree with push access to the tracked remote, rerun release-it without ",[25,99,27],{},". It commits the version and changelog, creates the tag and pushes.",[91,102,103,106,107,110],{},[94,104,105],{},"Verify the commit."," Run full project checks on the tagged SHA or reuse a successful full CI run for it. ",[25,108,109],{},"CHANGELOG.md"," must contain exactly one nonempty section for the version.",[91,112,113,116,117,120,121,124],{},[94,114,115],{},"Publish to npm (if configured)."," CI packs with pnpm or npm. If ",[25,118,119],{},"tarball-verify-command"," is set, it tests the archive at ",[25,122,123],{},"TARBALL",". CI publishes that archive using OIDC.",[91,126,127,130],{},[94,128,129],{},"Create the GitHub Release."," Use the tagged changelog and verify any configured assets before publication. If npm is configured, wait for it to succeed.",[15,132,133,134,74],{},"Protect release tags and use tag pushes as the only automatic publication trigger. To update a site alongside a stable release, see ",[19,135,137],{"href":136},"\u002Fen\u002Fguides\u002Fdeployment#deployment-policy","deployment policy",[10,139,141],{"id":140},"github-release-assets","GitHub Release assets",[88,143,144,166,194],{},[91,145,146,147,150,151,153,154,156,157,159,160,163,164,74],{},"For notes alone, set ",[25,148,149],{},"\"github-release\": {}",". Notes come from the tracked ",[25,152,109],{}," in ",[25,155,54],{},". Tags default to ",[25,158,69],{}," plus SemVer. Standalone releases can set ",[25,161,162],{},"github-release.tag-prefix",". npm projects inherit ",[25,165,65],{},[91,167,168,169,58,172,44,175,178,179,182,183,23,186,189,190,193],{},"Use ",[25,170,171],{},"check.yml",[25,173,174],{},"task: artifact",[25,176,177],{},"artifact.kind: release-assets"," and the default component ",[25,180,181],{},"app",". Custom jobs can sign files and upload their directory with ",[25,184,185],{},"artifact-pack",[25,187,188],{},"kind: release-assets",". List the top-level filenames in ",[25,191,192],{},"github-release.assets",", preserving case.",[91,195,196,197,200,201,203,204,207,208,210],{},"In the same run, pass the returned ",[25,198,199],{},"artifact-id"," to ",[25,202,39],{}," as ",[25,205,206],{},"release-artifact-id",". The workflow verifies the source and digest, uploads to a draft, then checks GitHub’s SHA-256 values before making the Release public. Omit ",[25,209,206],{}," when there are no assets.",[15,212,213,214,217,218,74],{},"An explicit list, including ",[25,215,216],{},"[]",", must match the published assets exactly. If an npm project omits the list, reruns preserve assets the project added. See the ",[19,219,221],{"href":220},"\u002Fen\u002Fexamples\u002Fdownloads#tag-publication","downloads tag workflow",[10,223,225],{"id":224},"failure-recovery","Failure recovery",[15,227,228,231],{},[94,229,230],{},"If the npm outcome is uncertain, verify the registry and provenance first."," A missing receipt or temporary 404 does not justify republishing.",[233,234,235,248],"table",{},[236,237,238],"thead",{},[239,240,241,245],"tr",{},[242,243,244],"th",{},"Symptom",[242,246,247],{},"Next action",[249,250,251,260,274,286,294,306],"tbody",{},[239,252,253,257],{},[254,255,256],"td",{},"Local release-it stopped halfway",[254,258,259],{},"Inspect the worktree, local and remote tags, and their SHAs. If the tag was pushed, inspect the original run and keep the tag and version.",[239,261,262,265],{},[254,263,264],{},"Source, repository identity or tarball verification failed",[254,266,267,268,270,271,273],{},"Correct and revalidate the candidate. Match ",[25,269,43],{}," ",[25,272,47],{}," to the actual GitHub repository, including case.",[239,275,276,279],{},[254,277,278],{},"A check failed transiently",[254,280,281,282,285],{},"Select ",[94,283,284],{},"Re-run failed jobs"," on the original run.",[239,287,288,291],{},[254,289,290],{},"npm succeeded, GitHub Release failed",[254,292,293],{},"Rerun only the Release job and resume its matching draft. For manual recovery, verify the package name, version, tag SHA and each asset digest. Keep the original notes and prerelease flag. Stop on a conflicting Release.",[239,295,296,299],{},[254,297,298],{},"Receipt missing or upload failed",[254,300,301,302,74],{},"Check npm logs, registry and provenance. Once publication is confirmed, recover only the missing GitHub Release. See ",[19,303,305],{"href":304},"\u002Fen\u002Fguides\u002Fpublication-results","npm publication results",[239,307,308,311],{},[254,309,310],{},"GitHub Release succeeded, docs deployment failed",[254,312,313],{},"Rerun deployment with the original artifact. If it expired, confirm the stable tag and SHA, rebuild from that SHA with a compatible toolkit version and deploy in the same run.",{"title":315,"searchDepth":316,"depth":316,"links":317},"",2,[318,322,323,324],{"id":12,"depth":316,"text":13,"children":319},[320],{"id":32,"depth":321,"text":33},3,{"id":85,"depth":316,"text":86},{"id":140,"depth":316,"text":141},{"id":224,"depth":316,"text":225},"md",null,{},true,"\u002Fen\u002Fguides\u002Freleasing",{"title":5,"description":315},"en\u002Fguides\u002F3.releasing","uvHipZrLYGk3Y_501S3t7Ze0jk-nOP0DYnj2qJHkOqo",[334,339],{"title":335,"path":336,"stem":337,"description":338,"children":-1},"Adopt the workflows","\u002Fen\u002Fguides\u002Fadoption","en\u002Fguides\u002F2.adoption","Run a pnpm or npm project's tests on pull requests with read-only repository access.",{"title":340,"path":341,"stem":342,"description":343,"children":-1},"Deploy a site or Worker","\u002Fen\u002Fguides\u002Fdeployment","en\u002Fguides\u002F4.deployment","A site built on main can deploy as soon as its build succeeds. To tie deployment to a stable release, make it depend on both jobs (needs: [build_site, publish] in the monorepo example) and pass the tag as release-tag. Monorepo workflows",[345,358,379],{"title":346,"path":347,"stem":348,"children":349,"page":357},"Examples","\u002Fen\u002Fexamples","en\u002Fexamples",[350,354],{"title":351,"path":352,"stem":353},"From CI downloads to tagged releases","\u002Fen\u002Fexamples\u002Fdownloads","en\u002Fexamples\u002F1.downloads",{"title":355,"path":80,"stem":356},"Monorepo package and documentation site","en\u002Fexamples\u002F2.monorepo",false,{"title":359,"path":360,"stem":361,"children":362,"page":357},"Guides","\u002Fen\u002Fguides","en\u002Fguides",[363,367,368,369,370,373,375],{"title":364,"path":365,"stem":366},"Workflow architecture","\u002Fen\u002Fguides\u002Fproject-workflows","en\u002Fguides\u002F1.project-workflows",{"title":335,"path":336,"stem":337},{"title":5,"path":329,"stem":331},{"title":340,"path":341,"stem":342},{"title":371,"path":21,"stem":372},"release-it configuration","en\u002Fguides\u002F5.release-it",{"title":305,"path":304,"stem":374},"en\u002Fguides\u002F6.publication-results",{"title":376,"path":377,"stem":378},"Workflow and action interfaces","\u002Fen\u002Fguides\u002Farchitecture","en\u002Fguides\u002F7.architecture",{"title":380,"path":381,"stem":382,"children":383,"page":357},"Maintenance","\u002Fen\u002Fmaintenance","en\u002Fmaintenance",[384],{"title":385,"path":386,"stem":387},"Maintain Xova Actions","\u002Fen\u002Fmaintenance\u002Fverification","en\u002Fmaintenance\u002F1.verification",1796537881506,"2d28474e-0c56-4c42-95a6-d293d7783a6d"]