forked from Ponysearch/Ponysearch
SearXNG version: YYYY.MM.DD without leading zero
This commit is contained in:
parent
674dae946a
commit
06b5068a2e
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ def get_git_url_and_branch():
|
||||||
|
|
||||||
|
|
||||||
def get_git_version():
|
def get_git_version():
|
||||||
git_commit_date_hash = subprocess_run(r"git show -s --date='format:%Y.%m.%d' --format='%cd+%h'")
|
git_commit_date_hash = subprocess_run(r"git show -s --date='format:%-Y.%-m.%-d' --format='%cd+%h'")
|
||||||
tag_version = git_version = git_commit_date_hash
|
tag_version = git_version = git_commit_date_hash
|
||||||
|
|
||||||
# add "+dirty" suffix if there are uncommited changes except searx/settings.yml
|
# add "+dirty" suffix if there are uncommited changes except searx/settings.yml
|
||||||
|
|
Loading…
Reference in a new issue