GoZync4

Build Numbers

GoZync4.BuildNumbers History

Hide minor edits - Show changes to output

December 17, 2012, at 10:08 PM by cm - minor edits and clarifications
Changed lines 5-6 from:
And letting your users download new builds of your apps is one of the killer features of GoZync.
to:
Letting your users download new builds of your apps is one of the killer features of GoZync.
Changed lines 9-10 from:
The work is actually done in the script "Increment Build Number" in GoZyncMobile. We store the build number--along with some metadata about which user created the build, and when--in a serial number field in the table gz in your mobile file (you added that table to your file during [[integration]]).
to:
The work is actually done in the script "Increment Build Number" in GoZyncMobile. We store the build number along with some metadata about which user created the build, and when  in a serial number field in the table gz in your mobile file (you added that table to your file during [[integration]]).
July 02, 2012, at 05:16 PM by 50.132.84.245 -
Added lines 21-22:
By changing the 1 in our GetValue line to a 2, 3, or 4, you can extract the timestamp of that build, the author, etc. (though you probably don't want to use "get as number" when going after the time or author).
July 02, 2012, at 05:13 PM by 50.132.84.245 -
Changed lines 1-4 from:
There is a script to reset the build numbers
since the live in the serial number
they are not quite as simple as changing  a field
I was thinking there would be a place somewhere to reset
the build numbers
to:
!! What are build numbers?

When you [[distributing mobile files | upload a new version of a mobile file]] GoZync will increment the build number automatically. This is how GoZync can tell if a user has
the latest version of a mobile file or not.

And letting your users download new builds of your apps is one of the killer features of GoZync.

!! How do uploaded mobile files get new build numbers?

The work is actually done in the script "Increment Build Number" in GoZyncMobile. We store the build number--along with some metadata about which user created the build, and when--in a serial number field in the table gz in your mobile file (you added that table to your file during [[integration]]).

Here is the calc we use to extract the build number:

-> Let ( [ \\
n = GetNextSerialValue ( Get ( FileName )  ; "gz::MetaData" ) ; \\
n = Substitute ( n ; "|" ; "" ) ; \\
n = GetValue ( n ; 1 ) \\
] ; \\
GetAsNumber ( n ) & Left ( PrimaryIDGLOB ; 0 ) \\
) \\

!! Can I set the build number by hand?

Sure, before you upload your file, simply change the next serial number value for the metadata field in the gz table in your file. Be sure to just change the "build number" part of the meta data: the number to the left of the first pipe. And set it to a number 1 lower than what you want the build number to be, as GoZync will increment this when you upload the file.
June 17, 2012, at 04:37 PM by 71.212.119.74 -
Added lines 1-4:
There is a script to reset the build numbers
since the live in the serial number
they are not quite as simple as changing  a field
I was thinking there would be a place somewhere to reset the build numbers
(855) SEEDCODE
support@seedcode.com
Follow us: