cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Little (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-8857) cordova prepare doesn't change windows manifest file's version entry
Date Tue, 28 Apr 2015 09:30:07 GMT

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

John Little commented on CB-8857:
---------------------------------

Hi,
You are correct I was doing a build for android and iOS but a prepare for windows (don't know
why I did that).
When I do a build the version number is set in the manifest files.

I have setup to hook files that are run as part of the "before_prepare" step. 1 script collects
the version number from the config.xml file and increments the 3rd number to give a unique
build number. The script also writes a version.js file so I can easily get the version number
in my software (it would be nice to have the version number in the cordova object).
The second script collects the version number from the config.xml file and modifes the .appxmanifest
file

It would be nice to have the version number automaticaly set during the prepare phase.

> cordova prepare doesn't change windows manifest file's version entry
> --------------------------------------------------------------------
>
>                 Key: CB-8857
>                 URL: https://issues.apache.org/jira/browse/CB-8857
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Windows
>         Environment: Cordova: 4.3.0
> Windows: 3.8.0
>            Reporter: John Little
>
> When I build/prepare my cordova app for android or iOS the system rebuilds the AndroidManifest.xml
and .pfile. Filling in the new version number from the config.xml file.
> Unfortunatly for windows the .appxmanifest are not changed.
> This means that the app version number is not updated in the manifest.
> Would it be possible to have cordova rebuld/modify the windows manifest files with the
version information from the config.xml file ?



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message