0

I want to use the buildnumber from Auzre DevOps as the version-number. For this, I set in package.json for example

"version": "1.0.20221009-1",

When I try to build with squirrel, I get the error:

Making for the following targets: squirrel
? Making for target: squirrel - On platform: win32 - For arch: x64

An unhandled error has occurred inside Forge:
An error occured while making for target: squirrel
Failed with exit code: 1
Output:
Es wird versucht, das Paket aus "simbpmn.nuspec" zu erstellen.
'1.0.20221009-1' is not a valid version string.
Parametername: version

Error: Failed with exit code: 1
Output:
Es wird versucht, das Paket aus "simbpmn.nuspec" zu erstellen.
'1.0.20221009-1' is not a valid version string.
Parametername: version

    at ChildProcess.<anonymous> (D:\DATEN\Projekte\OST\simBPMN\simBPMN.git\node_modules\electron-winstaller\src\spawn-promise.ts:52:16)
    at ChildProcess.emit (events.js:315:20)
    at ChildProcess.EventEmitter.emit (domain.js:467:12)
    at maybeClose (internal/child_process.js:1048:16)
    at Process.ChildProcess._handle.onexit (internal

Does someone have an idea, how I can use the buildnumber as version? I only need the exe from squirrel, and not the nuget - perhaps there is a way to disable generating the nuget-file?

BennoDual
  • 5,865
  • 15
  • 67
  • 153

0 Answers0