diff options
| author | TheFrenchGhosty <47571719+TheFrenchGhosty@users.noreply.github.com> | 2020-12-01 16:36:27 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-01 16:36:27 +0000 |
| commit | ff3b53e34ad8f6d7c09f427aa123e8e67c9a2733 (patch) | |
| tree | 532b12fc6c6cc8c1d667f1b87021a31836401a10 /src/invidious.cr | |
| parent | dd35877edaffc4c6cae141b31449dc7ad50f7bd8 (diff) | |
| parent | b409cdece5d4cc3e4f19235c117fb0f39f5a3c16 (diff) | |
| download | invidious-ff3b53e34ad8f6d7c09f427aa123e8e67c9a2733.tar.gz invidious-ff3b53e34ad8f6d7c09f427aa123e8e67c9a2733.tar.bz2 invidious-ff3b53e34ad8f6d7c09f427aa123e8e67c9a2733.zip | |
Merge pull request #1513 from saltycrys/improve-error-message-2
Improve error message 2
Diffstat (limited to 'src/invidious.cr')
| -rw-r--r-- | src/invidious.cr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious.cr b/src/invidious.cr index 9c3dffb2..4793a60a 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -64,7 +64,7 @@ HTTP_CHUNK_SIZE = 10485760 # ~10MB 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_VERSION = {{ "#{`git log -1 --format=%cs | sed s/-/./g`.strip}" }} # This is used to determine the `?v=` on the end of file URLs (for cache busting). We # only need to expire modified assets, so we can use this to find the last commit that changes |
