diff options
| author | Omar Roth <omarroth@hotmail.com> | 2019-03-19 20:50:34 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2019-03-19 20:50:34 -0500 |
| commit | 202f3d36c4913742488c13c20a8d2fb0577b738f (patch) | |
| tree | 5751c7eb0e2ff2b3d6e08840b2c3829a6e76fabc | |
| parent | 7a54b1d36a5936a6f59d02fa173aa5e421756372 (diff) | |
| download | invidious-202f3d36c4913742488c13c20a8d2fb0577b738f.tar.gz invidious-202f3d36c4913742488c13c20a8d2fb0577b738f.tar.bz2 invidious-202f3d36c4913742488c13c20a8d2fb0577b738f.zip | |
Bake in branch, commit, version
| -rw-r--r-- | src/invidious.cr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/invidious.cr b/src/invidious.cr index ec9b339a..979365c1 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -91,9 +91,9 @@ REDDIT_URL = URI.parse("https://www.reddit.com") LOGIN_URL = URI.parse("https://accounts.google.com") PUBSUB_URL = URI.parse("https://pubsubhubbub.appspot.com") TEXTCAPTCHA_URL = URI.parse("http://textcaptcha.com/omarroth@hotmail.com.json") -CURRENT_BRANCH = `git branch | sed -n '/\* /s///p'`.strip -CURRENT_COMMIT = `git rev-list HEAD --max-count=1 --abbrev-commit`.strip -CURRENT_VERSION = `git describe --tags --abbrev=0`.strip +CURRENT_BRANCH = {{ "#{`git branch | sed -n '/\* /s///p'`.strip}" }} +CURRENT_COMMIT = {{ "#{`git rev-list HEAD --max-count=1 --abbrev-commit`.strip}" }} +CURRENT_VERSION = {{ "#{`git describe --tags --abbrev=0`.strip}" }} LOCALES = { "ar" => load_locale("ar"), |
