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 =)
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 23 Aug, 2013 06:16 AM
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 Posted by robert on 23 Aug, 2013 08:56 AM
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]
Support Staff 3 Posted by Feodor Fitsner on 23 Aug, 2013 02:57 PM
OK, I will replace that "build number correction" algorithm with just build number uniqueness check + error. Will see how it goes.
Support Staff 4 Posted by Feodor Fitsner on 12 Sep, 2013 07:43 PM
Hi Robert,
We've just deployed AppVeyor update with build number check fixed! Let me know if it works for you!
-Feodor
5 Posted by robert on 16 Sep, 2013 05:35 AM
Works like a charm, thank you.
Thanks!
robert closed this discussion on 16 Sep, 2013 05:36 AM.