Can't reset build number

robert's Avatar


23 Aug, 2013 05:42 AM

When I change the major/minor version number I also want to reset the build number. It works fine and the build number is saved. However, when the next build is triggered the previous build number (+1) is used. Is there a bug somewhere or am I doing it wrong =)

  1. Support Staff 1 Posted by Feodor Fitsner on 23 Aug, 2013 06:16 AM

    Feodor Fitsner's Avatar

    Well, I think I know what's going on :)
    Not only version, but the original build number is saved into database with every build. There is a check right now for build number to be always unique for the given project. If you are trying to build with a build number that already exists AppVeyor will move the counter to a maximum build number ever used for this project.

    For example, if you had version 1.0.{build} then built 1.0.1, 1.0.2, 1.0.3, then changed version template to 1.1.{build} and reset build to 0. Next version will be 1.1.4. Is it what you have right now?

  2. 2 Posted by robert on 23 Aug, 2013 08:56 AM

    robert's Avatar


    Yep, that is exactly the problem I got :)

    Kind Regards

    ----- Ursprungligt meddelande -----
    Från: "Feodor Fitsner" <[email blocked]>
    Skickat: ‎2013-‎08-‎23 08:16
    Till: "[email blocked]" <[email blocked]>
    Ämne: Re: Can't reset build number [Problems #8]

  3. Support Staff 3 Posted by Feodor Fitsner on 23 Aug, 2013 02:57 PM

    Feodor Fitsner's Avatar

    OK, I will replace that "build number correction" algorithm with just build number uniqueness check + error. Will see how it goes.

  4. Support Staff 4 Posted by Feodor Fitsner on 12 Sep, 2013 07:43 PM

    Feodor Fitsner's Avatar

    Hi Robert,

    We've just deployed AppVeyor update with build number check fixed! Let me know if it works for you!


  5. 5 Posted by robert on 16 Sep, 2013 05:35 AM

    robert's Avatar

    Works like a charm, thank you.


  6. robert closed this discussion on 16 Sep, 2013 05:36 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? 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


06 Jun, 2024 02:12 PM
06 Jun, 2024 03:49 AM
04 Jun, 2024 03:53 AM
30 May, 2024 04:03 PM
27 May, 2024 02:06 AM
20 May, 2024 09:52 PM