mastodon/app/views/about
DJ Sundog 74eff5456c First lame pass at adding optional git commit hash display on /about/… (#67)
* First lame pass at adding optional git commit hash display on /about/more page.

Currently, this is implemented by checking for the existence of a file called CURRENT_RELEASE in the home directory of the user running Mastodon. If the file exists, its contents are added.

I've modified my update process to include the following before precompiling assets:

git log -1 | head -n 1 | cut -d " " -f2 > ~/CURRENT_RELEASE

That puts the current commit hash into the file ~/CURRENT_RELEASE, but you figured that out because you're a smart cookie.

As I am quite sure this is a horrible methodology for implementing this, I look forward to any improvements you have to offer!

* Updated to handle instances that share a user - the CURRENT_RELEASE file now lives in the instance's base directory.

This also requires modifying the update hook to `git log -1 | head -n 1 | cut -d " " -f2 > CURRENT_RELEASE`
2017-07-11 20:32:16 -04:00
..
_contact.html.haml Don't show business e-mail if it's blank (#3619) 2017-06-07 09:57:47 +02:00
_links.html.haml All cybrespace changes through 5/28 2017-06-23 21:45:14 +00:00
_registration.html.haml Added haml-lint and fix warnings (#2773) 2017-05-08 03:35:25 +02:00
_version.html.haml First lame pass at adding optional git commit hash display on /about/… (#67) 2017-07-11 20:32:16 -04:00
more.html.haml Added haml-lint and fix warnings (#2773) 2017-05-08 03:35:25 +02:00
show.html.haml cybre cleanup 2017-06-23 21:45:14 +00:00
terms.en.html.haml Instance helper to replace site title helper (#2038) 2017-04-18 00:16:32 +02:00
terms.ja.html.haml Added japanese version of terms of service and privacy policy (#2703) 2017-05-06 02:23:22 +02:00
terms.no.html.haml Instance helper to replace site title helper (#2038) 2017-04-18 00:16:32 +02:00