Invidious is an alternative front-end to YouTube
Bake in branch, commit, version
Omar Roth202f3d36c491
diff --git a/src/invidious.cr b/src/invidious.crindex 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/[email protected]")-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"),