mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	chore(rebrand): adjust artifact names
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/actions/build-electron/action.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/actions/build-electron/action.yml
									
									
									
									
										vendored
									
									
								
							| @@ -85,7 +85,7 @@ runs: | |||||||
|       APPLE_ID: ${{ env.APPLE_ID }} |       APPLE_ID: ${{ env.APPLE_ID }} | ||||||
|       APPLE_ID_PASSWORD: ${{ env.APPLE_ID_PASSWORD }} |       APPLE_ID_PASSWORD: ${{ env.APPLE_ID_PASSWORD }} | ||||||
|       WINDOWS_SIGN_EXECUTABLE: ${{ env.WINDOWS_SIGN_EXECUTABLE }} |       WINDOWS_SIGN_EXECUTABLE: ${{ env.WINDOWS_SIGN_EXECUTABLE }} | ||||||
|       TRILIUM_ARTIFACT_NAME_HINT: TriliumNextNotes-${{ github.ref_name }}-${{ inputs.os }}-${{ inputs.arch }} |       TRILIUM_ARTIFACT_NAME_HINT: TriliumNotes-${{ github.ref_name }}-${{ inputs.os }}-${{ inputs.arch }} | ||||||
|     run: pnpm nx --project=desktop electron-forge:make -- --arch=${{ inputs.arch }} --platform=${{ inputs.forge_platform }} |     run: pnpm nx --project=desktop electron-forge:make -- --arch=${{ inputs.arch }} --platform=${{ inputs.forge_platform }} | ||||||
|  |  | ||||||
|   # Add DMG signing step |   # Add DMG signing step | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								.github/actions/build-server/action.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/actions/build-server/action.yml
									
									
									
									
										vendored
									
									
								
							| @@ -30,4 +30,4 @@ runs: | |||||||
|       mkdir -p upload |       mkdir -p upload | ||||||
|       file=$(find ./apps/server/out -name '*.tar.xz' -print -quit) |       file=$(find ./apps/server/out -name '*.tar.xz' -print -quit) | ||||||
|       name=${{ github.ref_name }} |       name=${{ github.ref_name }} | ||||||
|       cp "$file" "upload/TriliumNextNotes-Server-${name//\//-}-${{ inputs.os }}-${{ inputs.arch }}.tar.xz" |       cp "$file" "upload/TriliumNotes-Server-${name//\//-}-${{ inputs.os }}-${{ inputs.arch }}.tar.xz" | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								.github/workflows/nightly.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/nightly.yml
									
									
									
									
										vendored
									
									
								
							| @@ -92,7 +92,7 @@ jobs: | |||||||
|         uses: actions/upload-artifact@v4 |         uses: actions/upload-artifact@v4 | ||||||
|         if: ${{ github.event_name == 'pull_request' }} |         if: ${{ github.event_name == 'pull_request' }} | ||||||
|         with: |         with: | ||||||
|           name: TriliumNextNotes ${{ matrix.os.name }} ${{ matrix.arch }} |           name: TriliumNotes ${{ matrix.os.name }} ${{ matrix.arch }} | ||||||
|           path: apps/desktop/upload |           path: apps/desktop/upload | ||||||
|  |  | ||||||
|   nightly-server: |   nightly-server: | ||||||
|   | |||||||
| @@ -48,7 +48,7 @@ chmod 755 $BUILD_DIR/trilium.sh | |||||||
|  |  | ||||||
| VERSION=`jq -r ".version" package.json` | VERSION=`jq -r ".version" package.json` | ||||||
|  |  | ||||||
| ARCHIVE_NAME="TriliumNextNotes-Server-${VERSION}-linux-${ARCH}" | ARCHIVE_NAME="TriliumNotes-Server-${VERSION}-linux-${ARCH}" | ||||||
| echo "Creating Archive $ARCHIVE_NAME..." | echo "Creating Archive $ARCHIVE_NAME..." | ||||||
|  |  | ||||||
| mkdir $DIST_DIR | mkdir $DIST_DIR | ||||||
|   | |||||||
| @@ -3,10 +3,10 @@ | |||||||
| <h2>Steps</h2> | <h2>Steps</h2> | ||||||
| <ul> | <ul> | ||||||
|   <li>SSH into your server</li> |   <li>SSH into your server</li> | ||||||
|   <li>use <code>wget</code> (or <code>curl</code>) to download latest <code>TriliumNextNotes-Server-[VERSION]-linux-x64.tar.xz</code> (copy |   <li>use <code>wget</code> (or <code>curl</code>) to download latest <code>TriliumNotes-Server-[VERSION]-linux-x64.tar.xz</code> (copy | ||||||
|     link from <a href="https://github.com/TriliumNext/Notes/releases">release page</a>, |     link from <a href="https://github.com/TriliumNext/Notes/releases">release page</a>, | ||||||
|     notice <code>-Server</code> suffix) on your server.</li> |     notice <code>-Server</code> suffix) on your server.</li> | ||||||
|   <li>unpack the archive, e.g. using <code>tar -xf -d TriliumNextNotes-Server-[VERSION]-linux-x64.tar.xz</code> |   <li>unpack the archive, e.g. using <code>tar -xf -d TriliumNotes-Server-[VERSION]-linux-x64.tar.xz</code> | ||||||
|   </li> |   </li> | ||||||
|   <li><code>cd trilium-linux-x64-server</code> |   <li><code>cd trilium-linux-x64-server</code> | ||||||
|   </li> |   </li> | ||||||
| @@ -27,7 +27,7 @@ | |||||||
| <h2>Configure Trilium to auto-run on boot with systemd</h2> | <h2>Configure Trilium to auto-run on boot with systemd</h2> | ||||||
| <ul> | <ul> | ||||||
|   <li>After downloading, extract and move Trilium:</li> |   <li>After downloading, extract and move Trilium:</li> | ||||||
| </ul><pre><code class="language-text-x-trilium-auto">tar -xvf TriliumNextNotes-Server-[VERSION]-linux-x64.tar.xz | </ul><pre><code class="language-text-x-trilium-auto">tar -xvf TriliumNotes-Server-[VERSION]-linux-x64.tar.xz | ||||||
| sudo mv trilium-linux-x64-server /opt/trilium</code></pre> | sudo mv trilium-linux-x64-server /opt/trilium</code></pre> | ||||||
| <ul> | <ul> | ||||||
|   <li>Create the service:</li> |   <li>Create the service:</li> | ||||||
|   | |||||||
| @@ -117,11 +117,11 @@ export const downloadMatrix: DownloadMatrix = { | |||||||
|                 }, |                 }, | ||||||
|                 tarX64: { |                 tarX64: { | ||||||
|                     name: "x86 (.tar.xz)", |                     name: "x86 (.tar.xz)", | ||||||
|                     url: `https://github.com/TriliumNext/Notes/releases/download/v${version}/TriliumNextNotes-Server-v${version}-linux-x64.tar.xz` |                     url: `https://github.com/TriliumNext/Notes/releases/download/v${version}/TriliumNotes-Server-v${version}-linux-x64.tar.xz` | ||||||
|                 }, |                 }, | ||||||
|                 tarArm64: { |                 tarArm64: { | ||||||
|                     name: "ARM (.tar.xz)", |                     name: "ARM (.tar.xz)", | ||||||
|                     url: `https://github.com/TriliumNext/Notes/releases/download/v${version}/TriliumNextNotes-Server-v${version}-linux-arm64.tar.xz` |                     url: `https://github.com/TriliumNext/Notes/releases/download/v${version}/TriliumNotes-Server-v${version}-linux-arm64.tar.xz` | ||||||
|                 }, |                 }, | ||||||
|                 nixos: { |                 nixos: { | ||||||
|                     name: "NixOS module", |                     name: "NixOS module", | ||||||
| @@ -150,7 +150,7 @@ export const downloadMatrix: DownloadMatrix = { | |||||||
| export function buildDownloadUrl(app: App, platform: Platform, format: string, architecture: Architecture): string { | export function buildDownloadUrl(app: App, platform: Platform, format: string, architecture: Architecture): string { | ||||||
|     if (app === "desktop") { |     if (app === "desktop") { | ||||||
|         return downloadMatrix.desktop[platform]?.downloads[format].url ?? |         return downloadMatrix.desktop[platform]?.downloads[format].url ?? | ||||||
|             `https://github.com/TriliumNext/Notes/releases/download/v${version}/TriliumNextNotes-v${version}-${platform}-${architecture}.${format}`; |             `https://github.com/TriliumNext/Notes/releases/download/v${version}/TriliumNotes-v${version}-${platform}-${architecture}.${format}`; | ||||||
|     } else if (app === "server") { |     } else if (app === "server") { | ||||||
|         return downloadMatrix.server[platform]?.downloads[format].url ?? "#"; |         return downloadMatrix.server[platform]?.downloads[format].url ?? "#"; | ||||||
|     } else { |     } else { | ||||||
|   | |||||||
| @@ -4,7 +4,7 @@ On Ubuntu: | |||||||
| ``` | ``` | ||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
|  |  | ||||||
| name=TriliumNextNotes-linux-x64-nightly.deb | name=TriliumNotes-linux-x64-nightly.deb | ||||||
| rm -f $name* | rm -f $name* | ||||||
| wget https://github.com/TriliumNext/Notes/releases/download/nightly/$name | wget https://github.com/TriliumNext/Notes/releases/download/nightly/$name | ||||||
| sudo apt-get install ./$name | sudo apt-get install ./$name | ||||||
|   | |||||||
| @@ -4,8 +4,8 @@ This is essentially Trilium sources + node modules + node.js runtime packaged in | |||||||
| ## Steps | ## Steps | ||||||
|  |  | ||||||
| *   SSH into your server | *   SSH into your server | ||||||
| *   use `wget` (or `curl`) to download latest `TriliumNextNotes-Server-[VERSION]-linux-x64.tar.xz` (copy link from [release page](https://github.com/TriliumNext/Notes/releases), notice `-Server` suffix) on your server. | *   use `wget` (or `curl`) to download latest `TriliumNotes-Server-[VERSION]-linux-x64.tar.xz` (copy link from [release page](https://github.com/TriliumNext/Notes/releases), notice `-Server` suffix) on your server. | ||||||
| *   unpack the archive, e.g. using `tar -xf -d TriliumNextNotes-Server-[VERSION]-linux-x64.tar.xz` | *   unpack the archive, e.g. using `tar -xf -d TriliumNotes-Server-[VERSION]-linux-x64.tar.xz` | ||||||
| *   `cd trilium-linux-x64-server` | *   `cd trilium-linux-x64-server` | ||||||
| *   `./trilium.sh` | *   `./trilium.sh` | ||||||
| *   you can open the browser and open http://\[your-server-hostname\]:8080 and you should see Trilium initialization page | *   you can open the browser and open http://\[your-server-hostname\]:8080 and you should see Trilium initialization page | ||||||
| @@ -20,7 +20,7 @@ The problem with above steps is that once you close the SSH connection, the Tril | |||||||
| *   After downloading, extract and move Trilium: | *   After downloading, extract and move Trilium: | ||||||
|  |  | ||||||
| ``` | ``` | ||||||
| tar -xvf TriliumNextNotes-Server-[VERSION]-linux-x64.tar.xz | tar -xvf TriliumNotes-Server-[VERSION]-linux-x64.tar.xz | ||||||
| sudo mv trilium-linux-x64-server /opt/trilium | sudo mv trilium-linux-x64-server /opt/trilium | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user