signmacosdesktop
bunsenstraat 9 months ago
parent d4916fd356
commit 09c343b85d
  1. 3
      .circleci/config.yml

@ -252,7 +252,8 @@ jobs:
# Check if the 'version' field exists in the package.json
if ($packageJsonContent.'version' -ne $null) {
# Store the version value in an environment variable
$env:PACKAGE_VERSION = 'C:\Users\circleci\remix-project\release\Remix-Desktop Setup '.$packageJsonContent.'.exe'
$version = $packageJsonContent.version
$env:PACKAGE_VERSION = "C:\Users\circleci\remix-project\release\Remix-Desktop Setup $($version).exe"
Write-Host "Version $($env:PACKAGE_VERSION) stored in PACKAGE_VERSION environment variable."
} else {
Write-Host "Error: 'version' field not found in package.json."

Loading…
Cancel
Save