Using build number in script
I have a NSIS script that runs after my build to package an exe.
I guess I can kick off the script as a "after build" command but
I also want to have the AppVeyor build number {build} as a input
parameter to the script so I can set the file name of the exe to
1.1.{build}
for example.
It should also be possible to kick of the NSIS script as part of the msbuild file that is run - would the {build} parameter be available there?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 03 Jun, 2014 04:38 PM
Hi Richard,
I think you can get build number from environment variables: http://www.appveyor.com/docs/environment-variables
2 Posted by Richard Hallgre... on 04 Jun, 2014 09:56 AM
Excellent. Worked perfectly! Thanks.
Richrd
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:44 AM.