[ 
https://issues.apache.org/jira/browse/CB-9465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15315701#comment-15315701
 ] 

ASF GitHub Bot commented on CB-9465:
------------------------------------

Github user pa-de-solminihac commented on the issue:

    https://github.com/apache/cordova-android/pull/298
  
    ## [Current coverage][cc-pull] is **36.13%**
    > Merging [#298][cc-pull] into [master][cc-base-branch] will not change 
coverage
    
    ```diff
    @@           master    #298   diff @@
    =====================================
      Files          11      11          
      Lines         927     927          
      Methods         0       0          
      Branches      167     167          
    =====================================
      Hits          335     335          
      Misses        592     592          
      Partials        0       0          
    ```
    
    > Powered by [Codecov](https://codecov.io?src=pr). Last updated by 
[e4ecbad...8d5180f][cc-compare]
    [cc-base-branch]: 
https://codecov.io/gh/apache/cordova-android/branch/master?src=pr
    [cc-compare]: 
https://codecov.io/gh/apache/cordova-android/compare/e4ecbad3cb49f67db56e69a18583ed2310992262...8d5180fcb8f146ae8eadc3db973a0c4fa1ba0306
    [cc-pull]: https://codecov.io/gh/apache/cordova-android/pull/298?src=pr


>  Can't use "DNS Soa Serial number format" as Android versionCode 
> -----------------------------------------------------------------
>
>                 Key: CB-9465
>                 URL: https://issues.apache.org/jira/browse/CB-9465
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>            Reporter: Pierre-Alexis de Solminihac
>            Priority: Minor
>
> If you use the DNS Soa Serial number format format (ie. YYYYmmddss) as your 
> Android versionCode it will be too big for an integer value, as the 
> platforms/android/build.gradle script suffixes it with a "0".
> For example, today's versionCode could be 2015080601.
> The build script will suffix it with a "0", and cast it as an integer. So it 
> becomes 20,150,806,010 but its too high for and integer, whose max value is 
> 2,147,483,647.
> Then the build script fails.
> Worst part : it used to work, so I can't upgrade my apps on Google Play !



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to