Generating custom Version Numbers
I'd like to use a custom script to determine my version number. Ideally I'd also like that version number to the project-build-version displayed on the build summary. Is there any way of doing this?
I'm currently just displaying the build number instead but it means my artifact (a nuget package) shows a different version number to the build.
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 13 Jan, 2015 01:46 AM
Is it what you are looking for: http://www.appveyor.com/docs/build-worker-api#update-build-details ?
-Feodor
2 Posted by lavinski on 13 Jan, 2015 02:56 AM
That looks perfect (note the hyperlink is broken).
So to clarify, I'd have to start from after 1.0.0 if that number is already been used right? there's no reset this project button?
Support Staff 3 Posted by Feodor Fitsner on 13 Jan, 2015 02:58 AM
You can re-start build number, but entire version should be unique, e.g. you can have 1.0.1, 1.0.2, 1.0.3, ... and then reset build number to one and have 2.0.1, 2.0.2, 2.0.3.
4 Posted by lavinski on 13 Jan, 2015 06:23 AM
So 1.0.0 is taken and I can never clear my build history and start again?
Support Staff 5 Posted by Feodor Fitsner on 13 Jan, 2015 06:28 AM
Yeah - just re-create the project to start over. It's easy provided config is stored in
appveyor.yml
.lavinski closed this discussion on 17 Jan, 2015 09:19 AM.