Is there a good way to conditionally run command based on an environment variable like skipping pr's
after_test:
- node_modules\.bin\grunt publish
https://ci.appveyor.com/project/Exceptionless/exceptionless-ui/build/2.4.858

Is there a good way to conditionally run command based on an environment variable like skipping pr's
after_test:
- node_modules\.bin\grunt publish
https://ci.appveyor.com/project/Exceptionless/exceptionless-ui/build/2.4.858
Comments are currently closed for this discussion. You can start a new one.
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac
#1 Posted by Feodor Fitsner Support staff on 07 Apr, 2016 06:13 PM
Well, it could be something like:
#2 Posted by bniemyjski on 07 Apr, 2016 06:19 PM
I'm trying to check if its not set. I'm current trying : - IF %APPVEYOR_PULL_REQUEST_NUMBER% LSS 1 node_modules\.bin\grunt publish
#3 Posted by bniemyjski on 07 Apr, 2016 06:28 PM
IF %APPVEYOR_PULL_REQUEST_NUMBER% LSS 1 node_modules\.bin\grunt publish
1 was unexpected at this time.
#4 Posted by Feodor Fitsner Support staff on 07 Apr, 2016 06:31 PM
Try this one:
#5 Posted by bniemyjski on 07 Apr, 2016 06:48 PM
Awesome that worked!
bniemyjski closed this discussion on 11 Apr, 2016 09:39 PM.