Skip to content

WIP ES-179: Update version entry of package.json via applyGitVersion target in build.xml

maurice.delaferte requested to merge ES-179 into master

We need to change the version entry of Appsuite package.json automatically at build time. It was previously done by releaseNumbers.xml for so called release builds, but releaseNumbers.xml is not in usage when we building with the new getGitVersion functionality. This request should fix the update of the version entry of package.json via applyGitVersion target in build.xml.

-  "version": "7.8.4-4",
+  "version": "7.8.4-4.19",

This request in a WIP state be cause it is unclear if applyGitVersion is the right ant target, because it will run after build-appsuite.xml. As a result the version will be changed just before source tarball creating and after e.g. npm install.

CONCLUSION:

Marcus, Julian and me came to the conclusion that we should drop the revision entry manuelly of package.json version entry at all. This version entry is currently only in usage for cache-busting and this will still work because a timestamp will be added too.

-  "version": "7.8.4-4",
+  "version": "7.8.4",

Hence this request is not needed anymore.

Edited by maurice.delaferte

Merge request reports