-
Task
-
Resolution: Fixed
-
Major
-
None
-
None
-
-
Empty show more show less
-
Empty show more show less
The "license" file exposes a BuildNumber property, which currently contains a timestamp and git revision nr; it'd be nice if this would also give the branch name. This is possible since BUILD-105. Requires updating parent poms to v29.
Example patch (am not convinced by the "format", so please come up with better)
diff --git a/magnolia-core/src/main/resources/info/magnolia/cms/license/license.xml b/magnolia-core/src/main/resources/info/magnolia/cms/license/license.xml index 1ac8b4e..f38a7d2 100644 --- a/magnolia-core/src/main/resources/info/magnolia/cms/license/license.xml +++ b/magnolia-core/src/main/resources/info/magnolia/cms/license/license.xml @@ -20,7 +20,7 @@ <Meta> <VersionNumber>${magnoliaNiceVersion}</VersionNumber> <Edition>${magnoliaEdition}</Edition> - <BuildNumber>${magnoliaReleaseDate} (rev. ${buildScmRevisionNumber})</BuildNumber> + <BuildNumber>${magnoliaReleaseDate} (rev. ${buildScmRevisionNumber} on branch ${buildScmBranch})</BuildNumber> <Provider>${pom.organization.name}</Provider> <ProviderAddress> <![CDATA[
Acceptance criteria
- depends upon
-
BUILD-105 Update to buildnumber 1.3
- Closed
- is cloned by
-
MGNLEE-368 Add branch name in the "build number" property
- Closed
- is related to
-
MAGNOLIA-3041 Add revision in the "build number" property
- Closed