dpogue commented on issue #528:
URL: https://github.com/apache/cordova-cli/issues/528#issuecomment-683158727


   @infacto I wrote seymour specifically for us to manage builds on a Jenkins 
CI environment, where we wanted to have different names/IDs for stages like QA, 
Beta, and Production. We set the environment variables as part of our Jenkins 
build script.
   
   However, if you're trying to make a build locally on the command-line, this 
should work:
   ```bash
   SEY_APP_NAME=MyApp SEY_APP_VERSION=1.1.2 SEY_BUILD_TYPE=release npx seymour
   ```
   
   If you want to set them once, and then run multiple builds, you should be 
able to define them in bash ahead of time:
   ```bash
   export SEY_APP_NAME=MyApp
   export SEY_APP_VERSION=1.1.2
   export SEY_BUILD_TYPE=release
   npx seymour
   ```
   
   Note: Seymour's unit tests pass on Windows, but I've never actually run it 
there myself, so I'm not sure exactly how to configure the environment 
variables there. My examples should work on both Linux and macOS in bash-like 
shells.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to