SDiFI / masdif

Manager for Spoken Dialog Framework
Apache License 2.0
1 stars 0 forks source link

Fix version string display problem at deployment time #51

Closed lumpidu closed 1 year ago

lumpidu commented 1 year ago

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".

grafik