mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 19:29:47 +02:00
remove passing of build version to packager
This commit is contained in:
parent
81426c05f4
commit
5745a35f4e
2 changed files with 1 additions and 5 deletions
|
@ -10,7 +10,7 @@ add_custom_target(${TARGET_NAME}-npm-install
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
)
|
)
|
||||||
add_custom_target(${TARGET_NAME}
|
add_custom_target(${TARGET_NAME}
|
||||||
COMMAND npm run packager -- --out ${CMAKE_CURRENT_BINARY_DIR} ${PRODUCTION_OPTION} --build-version ${BUILD_VERSION}
|
COMMAND npm run packager -- --out ${CMAKE_CURRENT_BINARY_DIR} ${PRODUCTION_OPTION}
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
DEPENDS ${TARGET_NAME}-npm-install
|
DEPENDS ${TARGET_NAME}-npm-install
|
||||||
)
|
)
|
||||||
|
|
|
@ -13,15 +13,11 @@ var argv = require('yargs').argv;
|
||||||
// check which icon we should use, beta or regular
|
// check which icon we should use, beta or regular
|
||||||
var iconName = argv.production ? "console" : "console-beta";
|
var iconName = argv.production ? "console" : "console-beta";
|
||||||
|
|
||||||
// see if we were passed a build version
|
|
||||||
var buildVersion = argv.buildVersion ? argv.buildVersion : "dev";
|
|
||||||
|
|
||||||
// setup the common options for the packager
|
// setup the common options for the packager
|
||||||
var options = {
|
var options = {
|
||||||
dir: __dirname,
|
dir: __dirname,
|
||||||
name: "server-console",
|
name: "server-console",
|
||||||
version: "0.35.4",
|
version: "0.35.4",
|
||||||
'build-version': buildVersion,
|
|
||||||
overwrite: true,
|
overwrite: true,
|
||||||
prune: true,
|
prune: true,
|
||||||
arch: "x64",
|
arch: "x64",
|
||||||
|
|
Loading…
Reference in a new issue