Commit Graph

3 Commits

Author SHA1 Message Date
Lucas Bickel 285ed854f6 Make git optional during build
Currently the installer fails when using a github tarball that comes without a .git folder (https://github.com/LibreTime/libretime/issues/47#issuecomment-285365745).

With this change build.sh only executes git if a .git folder is detected. It uses the name of the downloaded folder as part of the version string if a tarball is used.

I plan on releasing travis-ci built tarballs that contain the tagged version (once we have one) and also have a pre-downloaded composer vendor folder. Those will already contain a VERSION file as well and this change already contains the setup needed for that.
2017-03-09 16:12:44 +01:00
Albert Santoni e855ee6758 Use bash -e in build script 2015-06-29 16:49:16 -04:00
Albert Santoni 73cb14155c Replace the version hashing with git revision hashing to fix browser
caching
2015-02-19 10:01:09 -05:00