Skip to content

Add revision file for usage in sentry and footer

Matthias Larisch requested to merge add-git-version-tag into master

Closes issues0#251

What does this MR do?

This MR splits the deploy script and adds the generation of a revision.inc.php that is used to display the revision in the footer as well as include it in sentry.

How confident are you it won't break things if deployed?

pretty confident. Deploy script execution will the first time be checked on deployment, though.

A test cannot be added for the same reasons. Also, testing the revision stuff itself is a bit fiddly as it would involve more ops. A manual test of the revision generation script succeeded.

Links to related issues

Checklist

  • added a test, or explain why one is not needed/possible...
  • no unrelated changes
  • asked someone for a code review
  • joined #foodsharing-beta channel at https://slackin.yunity.org
  • added an entry to CHANGELOG.md (description, merge request link, username(s))
Edited by Chris Oelmueller

Merge request reports