Generating custom Version Numbers

lavinski's Avatar

lavinski

13 Jan, 2015 01:36 AM

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.

  1. Support Staff 1 Posted by Feodor Fitsner on 13 Jan, 2015 01:46 AM

    Feodor Fitsner's Avatar
  2. 2 Posted by lavinski on 13 Jan, 2015 02:56 AM

    lavinski's Avatar

    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?

  3. Support Staff 3 Posted by Feodor Fitsner on 13 Jan, 2015 02:58 AM

    Feodor Fitsner's Avatar

    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. 4 Posted by lavinski on 13 Jan, 2015 06:23 AM

    lavinski's Avatar

    So 1.0.0 is taken and I can never clear my build history and start again?

  5. Support Staff 5 Posted by Feodor Fitsner on 13 Jan, 2015 06:28 AM

    Feodor Fitsner's Avatar

    Yeah - just re-create the project to start over. It's easy provided config is stored in appveyor.yml.

  6. lavinski closed this discussion on 17 Jan, 2015 09:19 AM.

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

 

01 Oct, 2024 04:27 PM
26 Sep, 2024 03:49 PM
26 Sep, 2024 09:02 AM
25 Sep, 2024 07:07 PM
24 Sep, 2024 08:39 PM
24 Sep, 2024 06:47 AM