publish new versions

This commit is contained in:
JonasKruckenberg 2022-06-16 10:49:07 +00:00 committed by GitHub
parent 4e30c30b25
commit b35091df3e
22 changed files with 64 additions and 92 deletions

View File

@ -1,5 +0,0 @@
---
"tauri-build": patch
---
Update dependencies.

View File

@ -1,5 +0,0 @@
---
"tauri-build": patch
---
Update Tauri CLI to version `1.0.0-rc.10`

View File

@ -1,5 +0,0 @@
---
"tauri-build": patch
---
Update to latest Tauri version

View File

@ -1,5 +0,0 @@
---
"tauri-build": patch
---
Use proper cargo command to detect the artifact directory.

View File

@ -1,5 +0,0 @@
---
"tauri-build": patch
---
Call the correct tauri subcommand

View File

@ -1,5 +0,0 @@
---
"tauri-build": patch
---
Include Tauri CLI binaries for all supported platforms.

View File

@ -1,5 +0,0 @@
---
"tauri-build": patch
---
Correctly encode the output as JSON

View File

@ -1,5 +0,0 @@
---
"tauri-build": patch
---
Correctly compress .app files or omit them.

View File

@ -1,5 +0,0 @@
---
"tauri-build": patch
---
Fix globbing for artifacts on windows.

View File

@ -1,5 +0,0 @@
---
"tauri-build": patch
---
Ignore the linuxdelpoy.AppImage artifact

View File

@ -1,5 +0,0 @@
---
"tauri-build": patch
---
Only change working directory when projectPath is given.

View File

@ -1,5 +0,0 @@
---
"tauri-build": patch
---
Correctly change working dir to projectPath when configured.

View File

@ -1,5 +0,0 @@
---
"tauri-build": patch
---
Remove default `configPath`

View File

@ -1,5 +0,0 @@
---
"tauri-build": patch
---
Replace execa with standard NodeJS exec.

View File

@ -1,5 +0,0 @@
---
"tauri-build": major
---
Update to Tauri v1.0.0.

View File

@ -1,5 +1,38 @@
# Changelog
## \[1.0.0]
- Update dependencies.
- [0ab72e4](https://github.com/JonasKruckenberg/tauri-build/commit/0ab72e4401f708b71b4556fa678ae644bfd164cb) Create chore-update-deps.md on 2022-05-18
- Update Tauri CLI to version `1.0.0-rc.10`
- [f83afa4](https://github.com/JonasKruckenberg/tauri-build/commit/f83afa4608fbec046f5b1015d2129e36c6de7c2f) Create chore-update-tauri.md on 2022-05-08
- Update to latest Tauri version
- [9f533f3](https://github.com/JonasKruckenberg/tauri-build/commit/9f533f359c472a37212a33431f0c1c9905e2d58c) Create chore-update-tauri2.md on 2022-06-15
- Use proper cargo command to detect the artifact directory.
- [e21d218](https://github.com/JonasKruckenberg/tauri-build/commit/e21d218be11a5009285f6bb6b1cee5a214cec470) fix: proper target dir detection using cargo on 2022-05-09
- Call the correct tauri subcommand
- [f593898](https://github.com/JonasKruckenberg/tauri-build/commit/f593898d4994e9ab7130631432cffbbde4ec74ba) fix: call the correct tauri subcommand on 2022-05-08
- Include Tauri CLI binaries for all supported platforms.
- [59ffbba](https://github.com/JonasKruckenberg/tauri-build/commit/59ffbba21ce2ad94621365ddf2f848c908e4e2ec) fix. use only deps supported on gh actions on 2022-05-08
- Correctly encode the output as JSON
- [86b50e9](https://github.com/JonasKruckenberg/tauri-build/commit/86b50e91f77b9e0b951b4d7a02bf8c969caa9c15) fix: correctly encode output as json on 2022-05-09
- 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
- Fix globbing for artifacts on windows.
- [4728478](https://github.com/JonasKruckenberg/tauri-build/commit/4728478711cb3d8373d20dd2246f44bacbd51f3b) fix: globbing for artifacts on windows on 2022-05-09
- Ignore the linuxdelpoy.AppImage artifact
- [af44d01](https://github.com/JonasKruckenberg/tauri-build/commit/af44d01e2641bd82acc2c45f9b9ac8cb887a6577) fix: ignore linuxdeploy on 2022-05-09
- Only change working directory when projectPath is given.
- [5fa2b7e](https://github.com/JonasKruckenberg/tauri-build/commit/5fa2b7e361e1a40748f9373544d42ae2d287e260) only change dir optionally on 2022-05-08
- Correctly change working dir to projectPath when configured.
- [8864b18](https://github.com/JonasKruckenberg/tauri-build/commit/8864b1892897635a72de9bfce95f395c39c35eb1) fix: correctly change working dir to projectPath on 2022-05-08
- Remove default `configPath`
- [3708b7d](https://github.com/JonasKruckenberg/tauri-build/commit/3708b7de55753331b93547c98ab47f70a1d2be2b) fix: remove default configPath on 2022-05-10
- Replace execa with standard NodeJS exec.
- [9c72264](https://github.com/JonasKruckenberg/tauri-build/commit/9c722640b5343e17d4e870945a5ab8bab093a782) add changefile on 2022-05-09
- Update to Tauri v1.0.0.
- [925b02e](https://github.com/JonasKruckenberg/tauri-build/commit/925b02e58362fadca318e6df343ec665457aefb8) Create publish-stable.md on 2022-06-16
## \[0.1.2-beta.11]
- Update to latest Tauri version

BIN
dist/cli.darwin-x64.node generated vendored

Binary file not shown.

BIN
dist/cli.linux-x64-gnu.node generated vendored

Binary file not shown.

BIN
dist/cli.win32-x64-msvc.node generated vendored

Binary file not shown.

44
dist/index.js generated vendored
View File

@ -1,21 +1,21 @@
require('./sourcemap-register.js');/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({
/***/ 1961:
/***/ 2689:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
module.exports = require(__nccwpck_require__.ab + "cli.darwin-x64.node")
/***/ }),
/***/ 1142:
/***/ 1584:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
module.exports = require(__nccwpck_require__.ab + "cli.linux-x64-gnu.node")
/***/ }),
/***/ 7093:
/***/ 6750:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
module.exports = require(__nccwpck_require__.ab + "cli.win32-x64-msvc.node")
@ -64,14 +64,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.buildProject = void 0;
const cli_1 = __nccwpck_require__(2882);
const cli_1 = __nccwpck_require__(6034);
const path_1 = __nccwpck_require__(1017);
const tiny_glob_1 = __importDefault(__nccwpck_require__(6926));
const core = __importStar(__nccwpck_require__(9602));
const child_process_1 = __nccwpck_require__(2081);
function buildProject(options) {
return __awaiter(this, void 0, void 0, function* () {
let args = options.args || [];
const args = options.args || [];
if (options.configPath) {
args.push('--config', options.configPath);
}
@ -107,13 +107,27 @@ function buildProject(options) {
'deb'
];
const windowsExts = ['msi', 'msi.zip', 'msi.zip.sig'];
const artifactsLookupPattern = `${bundleDir}/*/!(linuxdeploy)*.{${[...macOSExts, linuxExts, windowsExts].join(',')}}`;
const artifactsLookupPattern = `${bundleDir}/*/!(linuxdeploy)*.{${[
...macOSExts,
linuxExts,
windowsExts
].join(',')}}`;
core.debug(`Looking for artifacts using this pattern: ${artifactsLookupPattern}`);
const artifacts = yield (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)]);
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')) {
@ -1895,7 +1909,7 @@ exports.checkBypass = checkBypass;
/***/ }),
/***/ 3911:
/***/ 934:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
const { existsSync, readFileSync } = __nccwpck_require__(7147)
@ -1962,7 +1976,7 @@ switch (platform) {
if (localFileExisted) {
nativeBinding = __nccwpck_require__(1255)
} else {
nativeBinding = __nccwpck_require__(7093)
nativeBinding = __nccwpck_require__(6750)
}
} catch (e) {
loadError = e
@ -2008,7 +2022,7 @@ switch (platform) {
if (localFileExisted) {
nativeBinding = __nccwpck_require__(9979)
} else {
nativeBinding = __nccwpck_require__(1961)
nativeBinding = __nccwpck_require__(2689)
}
} catch (e) {
loadError = e
@ -2071,7 +2085,7 @@ switch (platform) {
if (localFileExisted) {
nativeBinding = __nccwpck_require__(2026)
} else {
nativeBinding = __nccwpck_require__(1142)
nativeBinding = __nccwpck_require__(1584)
}
} catch (e) {
loadError = e
@ -2143,10 +2157,10 @@ module.exports.run = run
/***/ }),
/***/ 2882:
/***/ 6034:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
const { run } = __nccwpck_require__(3911)
const { run } = __nccwpck_require__(934)
module.exports.run = (args, binName) => {
return new Promise((resolve, reject) => {

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "tauri-build",
"version": "0.1.2-beta.11",
"version": "1.0.0",
"description": "TypeScript template action",
"main": "lib/main.js",
"scripts": {