summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2019-03-04 15:17:09 -0600
committerOmar Roth <omarroth@hotmail.com>2019-03-04 15:17:09 -0600
commit2840d98fd425b78dbe336b4c806f95c286b9f6e3 (patch)
tree87b0dc7e6c678396bb76e4f2d7a927db3b0d0cc4
parent32b9c0c8402076522601a3ed4e66235e05d24274 (diff)
downloadinvidious-2840d98fd425b78dbe336b4c806f95c286b9f6e3.tar.gz
invidious-2840d98fd425b78dbe336b4c806f95c286b9f6e3.tar.bz2
invidious-2840d98fd425b78dbe336b4c806f95c286b9f6e3.zip
Fix tagging for current version
-rw-r--r--src/invidious.cr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious.cr b/src/invidious.cr
index 9c75de1c..0bf07cf0 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -92,7 +92,7 @@ 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 $(git rev-list --tags --max-count=1)`.strip
+CURRENT_VERSION = `git describe --tags --abbrev=0`.strip
LOCALES = {
"ar" => load_locale("ar"),