提交 9c7225ab authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

cosmetic

上级 99b8d93b
...@@ -204,11 +204,11 @@ async function run() ...@@ -204,11 +204,11 @@ async function run()
catch (error) catch (error)
{ {
logError(error.message); logError(error.message);
exitWithError(); exitWithError();
} }
checkRelease(); checkRelease();
executeCmd(`git commit -am '${PKG.version}'`); executeCmd(`git commit -am '${PKG.version}'`);
executeCmd(`git tag -a ${PKG.version} -m '${PKG.version}'`); executeCmd(`git tag -a ${PKG.version} -m '${PKG.version}'`);
executeCmd(`git push origin v${MAYOR_VERSION}`); executeCmd(`git push origin v${MAYOR_VERSION}`);
...@@ -243,7 +243,6 @@ async function run() ...@@ -243,7 +243,6 @@ async function run()
case 'release:upload-mac-arm-prebuilt-worker': case 'release:upload-mac-arm-prebuilt-worker':
{ {
checkRelease(); checkRelease();
await prebuildWorker(); await prebuildWorker();
await uploadMacArmPrebuiltWorker(); await uploadMacArmPrebuiltWorker();
...@@ -428,6 +427,7 @@ function installMsysMake() ...@@ -428,6 +427,7 @@ function installMsysMake()
if (res.status !== 0) if (res.status !== 0)
{ {
logError('`installMsysMake() | cannot find Python executable'); logError('`installMsysMake() | cannot find Python executable');
exitWithError(); exitWithError();
} }
} }
...@@ -685,6 +685,7 @@ function executeCmd(command, exitOnError = true) ...@@ -685,6 +685,7 @@ function executeCmd(command, exitOnError = true)
if (exitOnError) if (exitOnError)
{ {
logError(`executeCmd() failed, exiting: ${error}`); logError(`executeCmd() failed, exiting: ${error}`);
exitWithError(); exitWithError();
} }
else else
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
"José Luis Millán <jmillan@aliax.net> (https://github.com/jmillan)", "José Luis Millán <jmillan@aliax.net> (https://github.com/jmillan)",
"Nazar Mokynskyi (https://github.com/nazar-pc)" "Nazar Mokynskyi (https://github.com/nazar-pc)"
], ],
"homepage": "https://mediasoup.org",
"license": "ISC", "license": "ISC",
"homepage": "https://mediasoup.org",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/versatica/mediasoup.git" "url": "https://github.com/versatica/mediasoup.git"
...@@ -38,15 +38,15 @@ ...@@ -38,15 +38,15 @@
"worker/meson_options.txt", "worker/meson_options.txt",
"npm-scripts.mjs" "npm-scripts.mjs"
], ],
"engines": {
"node": ">=16"
},
"keywords": [ "keywords": [
"webrtc", "webrtc",
"ortc", "ortc",
"sfu", "sfu",
"nodejs" "nodejs"
], ],
"engines": {
"node": ">=16"
},
"scripts": { "scripts": {
"prepare": "node npm-scripts.mjs prepare", "prepare": "node npm-scripts.mjs prepare",
"postinstall": "node npm-scripts.mjs postinstall", "postinstall": "node npm-scripts.mjs postinstall",
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论