Can't reset build number

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. 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. Hi,

    Yep, that is exactly the problem I got :)

    Kind Regards
    Robert

    ----- 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. OK, I will replace that "build number correction" algorithm with just build number uniqueness check + error. Will see how it goes.

  4. Hi Robert,

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

    -Feodor

  5. Works like a charm, thank you.

    Thanks!

  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

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