mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 07:12:40 +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}
|
||||
)
|
||||
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}
|
||||
DEPENDS ${TARGET_NAME}-npm-install
|
||||
)
|
||||
|
|
|
@ -13,15 +13,11 @@ var argv = require('yargs').argv;
|
|||
// check which icon we should use, beta or regular
|
||||
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
|
||||
var options = {
|
||||
dir: __dirname,
|
||||
name: "server-console",
|
||||
version: "0.35.4",
|
||||
'build-version': buildVersion,
|
||||
overwrite: true,
|
||||
prune: true,
|
||||
arch: "x64",
|
||||
|
|
Loading…
Reference in a new issue