The file app/helpers/version_helper.rb is used to determine the version of the application either from the git repository or by environment variables GIT_TAG, GIT_BRANCH, GIT_COMMIT. If the latter 2 are omitted, it uses just the GIT_TAG version. This variable had been omitted when deploying Masdif and therefore the version info was not shown on the deployed service.
This PR adds the GIT_TAG version to ci/deploy.sh and uses the same string as APPLICATION_VERSION which is set to the current git tag.
This fixes "#45 Version is not displayed in the Admin Interface".
The file
app/helpers/version_helper.rb
is used to determine the version of the application either from the git repository or by environment variablesGIT_TAG
,GIT_BRANCH
,GIT_COMMIT
. If the latter 2 are omitted, it uses just theGIT_TAG
version. This variable had been omitted when deploying Masdif and therefore the version info was not shown on the deployed service.This PR adds the
GIT_TAG
version toci/deploy.sh
and uses the same string asAPPLICATION_VERSION
which is set to the current git tag.This fixes "#45 Version is not displayed in the Admin Interface".