Details
-
Improvement
-
Status: Closed
-
Blocker
-
Resolution: Implemented
-
Trunk
-
None
-
None
Description
Following discussion at http://markmail.org/message/ut74mzptruubw4ty we have decided to
- have VERSION file at project root to store released version.
- Render the version in the applications footer template as a HTML comment.
Also mbrohl suggested that
- it can be automatically set by (custom) builds to be generated.
- It should be made configurable in general.properties to prevent to show it if the user does not want this.
Here is a patch I propose.
The info is only rendered when using the specific versionInfoFooter Gradle task. The usage of this task is mostly for support requests when asking the user for version and the VERSION file is not accessible. So we don't need to use a general.properties which would complicate things a bit as suggested by Michael's point 2.
When svnInfoFooter or gitInfoFooter is used the version info is removed.
I have not implemented Michael's point 1 but we need to add something about updating the VERSION file in https://cwiki.apache.org/confluence/display/OFBIZ/Release+Management+Guide+for+OFBiz
Please complete if I missed something, thanks