File tree Expand file tree Collapse file tree 4 files changed +57
-56
lines changed Expand file tree Collapse file tree 4 files changed +57
-56
lines changed Original file line number Diff line number Diff line change 433433 "format" : " markdown" ,
434434 "dataFileName" : " Documentation.md" ,
435435 "attachments" : []
436+ },
437+ {
438+ "isClone" : false ,
439+ "noteId" : " 4nwtTJyjNDKd" ,
440+ "notePath" : [
441+ " jdjRLhLV3TtI" ,
442+ " a0mkxxB4Uvbf" ,
443+ " 4nwtTJyjNDKd"
444+ ],
445+ "title" : " Releasing a new version" ,
446+ "notePosition" : 70 ,
447+ "prefix" : null ,
448+ "isExpanded" : false ,
449+ "type" : " text" ,
450+ "mime" : " text/html" ,
451+ "attributes" : [
452+ {
453+ "type" : " relation" ,
454+ "name" : " internalLink" ,
455+ "value" : " zdQzavvHDl1k" ,
456+ "isInheritable" : false ,
457+ "position" : 20
458+ },
459+ {
460+ "type" : " label" ,
461+ "name" : " iconClass" ,
462+ "value" : " bx bx-rocket" ,
463+ "isInheritable" : false ,
464+ "position" : 30
465+ }
466+ ],
467+ "format" : " markdown" ,
468+ "dataFileName" : " Releasing a new version.md" ,
469+ "attachments" : []
436470 }
437471 ]
438472 },
22132247 "attachments" : [],
22142248 "dirFileName" : " Old documentation" ,
22152249 "children" : [
2216- {
2217- "isClone" : false ,
2218- "noteId" : " rLWcPPQi7Eso" ,
2219- "notePath" : [
2220- " jdjRLhLV3TtI" ,
2221- " ibAPHul7Efvr" ,
2222- " rLWcPPQi7Eso"
2223- ],
2224- "title" : " Releasing a version" ,
2225- "notePosition" : 20 ,
2226- "prefix" : null ,
2227- "isExpanded" : false ,
2228- "type" : " text" ,
2229- "mime" : " text/html" ,
2230- "attributes" : [
2231- {
2232- "type" : " relation" ,
2233- "name" : " internalLink" ,
2234- "value" : " IxkDdjTogO18" ,
2235- "isInheritable" : false ,
2236- "position" : 10
2237- },
2238- {
2239- "type" : " label" ,
2240- "name" : " shareAlias" ,
2241- "value" : " releasing" ,
2242- "isInheritable" : false ,
2243- "position" : 20
2244- }
2245- ],
2246- "format" : " markdown" ,
2247- "dataFileName" : " Releasing a version.md" ,
2248- "attachments" : []
2249- },
22502250 {
22512251 "isClone" : false ,
22522252 "noteId" : " 6BWwXzPCph4G" ,
Original file line number Diff line number Diff line change 11# Documentation
2+ ## Editing the documentation
3+
4+ To edit the documentation run ` pnpm edit-docs:edit-docs ` . This will spin up a custom Trilium desktop instance which automatically imports the documentation into memory. Any changes will update in the background the files which can then be committed.
5+
26## Automation
37
48The documentation is built via ` apps/build-docs ` :
Original file line number Diff line number Diff line change 1+ # Releasing a new version
2+ Releasing is mostly handled by the CI:
3+
4+ * The version on GitHub is published automatically, including the description with the change log which is taken from the documentation.
5+ * A PR is created automatically on the Winget repository to update to the new version.
6+
7+ Releases are usually made directly from the ` main ` branch.
8+
9+ The process is as follows:
10+
11+ 1 . Edit the <a class =" reference-link " href =" Documentation.md " >Documentation</a > to add a corresponding entry in the _ Release notes_ section.
12+ 2 . In the root ` package.json ` , set ` version ` to the new version to be released.
13+ 3 . Run ` chore:update-version ` to automatically update the version of the rest of the ` package.json ` files.
14+ 4 . Run ` pnpm i ` to update the package lock as well.
15+ 5 . Commit the changes to the ` package.json ` files and the ` package-lock.json ` . The commit message is usually ` chore(release): prepare for v1.2.3 ` .
16+ 6 . Tag the newly created commit: ` git tag v1.2.3 `
17+ 7 . Push the commit and the newly created tag: ` git push; git push --tags ` .
18+ 8 . Wait for the CI to finish.
19+ 9 . When the release is automatically created in GitHub, download it to make sure it works OK.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments