mirror of
				https://github.com/JonasKruckenberg/tauri-build.git
				synced 2025-10-31 23:23:55 +00:00 
			
		
		
		
	publish new versions
This commit is contained in:
		
							parent
							
								
									3708b7de55
								
							
						
					
					
						commit
						d0ba1b1b70
					
				| @ -6,10 +6,12 @@ | ||||
|     ".changes/fix-build-args.md", | ||||
|     ".changes/fix-cli-on-platforms.md", | ||||
|     ".changes/fix-correct-json-formatting.md", | ||||
|     ".changes/fix-correctly-handle-app-files.md", | ||||
|     ".changes/fix-glob-on-windows.md", | ||||
|     ".changes/fix-ignore-linxdeploy.md", | ||||
|     ".changes/fix-optional-chdir.md", | ||||
|     ".changes/fix-project-path.md", | ||||
|     ".changes/fix-remove-default.md", | ||||
|     ".changes/fix-replace-execa.md" | ||||
|   ] | ||||
| } | ||||
|  | ||||
| @ -1,5 +1,12 @@ | ||||
| # Changelog | ||||
| 
 | ||||
| ## \[0.1.2-beta.9] | ||||
| 
 | ||||
| - Correctly compress .app files or omit them. | ||||
|   - [c9676c7](https://github.com/JonasKruckenberg/tauri-build/commit/c9676c7bb66d2fb0da128dc28a86bdca541e3cc5) fix: correctly handle .app files on 2022-05-10 | ||||
| - Remove default `configPath` | ||||
|   - [3708b7d](https://github.com/JonasKruckenberg/tauri-build/commit/3708b7de55753331b93547c98ab47f70a1d2be2b) fix: remove default configPath on 2022-05-10 | ||||
| 
 | ||||
| ## \[0.1.2-beta.8] | ||||
| 
 | ||||
| - Ignore the linuxdelpoy.AppImage artifact | ||||
|  | ||||
							
								
								
									
										17
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										17
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							| @ -109,7 +109,20 @@ function buildProject(options) { | ||||
|         const windowsExts = ['msi', 'msi.zip', 'msi.zip.sig']; | ||||
|         const artifactsLookupPattern = `${bundleDir}/*/!(linuxdeploy)*.{${[...macOSExts, linuxExts, windowsExts].join(',')}}`; | ||||
|         core.debug(`Looking for artifacts using this pattern: ${artifactsLookupPattern}`); | ||||
|         return (0, tiny_glob_1.default)(artifactsLookupPattern, { absolute: true, filesOnly: false }); | ||||
|         const artifacts = yield (0, tiny_glob_1.default)(artifactsLookupPattern, { absolute: true, filesOnly: false }); | ||||
|         let i = 0; | ||||
|         for (const artifact of artifacts) { | ||||
|             if (artifact.endsWith('.app') && !artifacts.some(a => a.endsWith('.app.tar.gz'))) { | ||||
|                 yield execCmd('tar', ['czf', `${artifact}.tar.gz`, '-C', (0, path_1.dirname)(artifact), (0, path_1.basename)(artifact)]); | ||||
|                 artifacts[i] += '.tar.gz'; | ||||
|             } | ||||
|             else if (artifact.endsWith('.app')) { | ||||
|                 // we can't upload a directory
 | ||||
|                 artifacts.splice(i, 1); | ||||
|             } | ||||
|             i++; | ||||
|         } | ||||
|         return artifacts; | ||||
|     }); | ||||
| } | ||||
| exports.buildProject = buildProject; | ||||
| @ -129,7 +142,7 @@ function spawnCmd(cmd, args, options = {}) { | ||||
|         }); | ||||
|     }); | ||||
| } | ||||
| function execCmd(cmd, args, options) { | ||||
| function execCmd(cmd, args, options = {}) { | ||||
|     return __awaiter(this, void 0, void 0, function* () { | ||||
|         return new Promise((resolve, reject) => { | ||||
|             (0, child_process_1.exec)(`${cmd} ${args.join(' ')}`, Object.assign(Object.assign({}, options), { encoding: 'utf-8' }), (error, stdout, stderr) => { | ||||
|  | ||||
							
								
								
									
										2
									
								
								dist/index.js.map
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js.map
									
									
									
										generated
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @ -1,6 +1,6 @@ | ||||
| { | ||||
|   "name": "tauri-build", | ||||
|   "version": "0.1.2-beta.8", | ||||
|   "version": "0.1.2-beta.9", | ||||
|   "description": "TypeScript template action", | ||||
|   "main": "lib/main.js", | ||||
|   "scripts": { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user