Skip to content

Commit

Permalink
Merge pull request #158 from MikroElektronika/improvement/index-db-ve…
Browse files Browse the repository at this point in the history
…rsion-printing

Improvement/index db version printing
  • Loading branch information
StrahinjaJacimovic authored Nov 8, 2024
2 parents 513ded4 + 1d4cef3 commit 720bad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ def index_release_to_elasticsearch(es : Elasticsearch, index_name, release_detai

# Print new version after indexing
if previous_version != doc['vesion']:
print(f"\033[95mVersion for asset {name_without_extension} has been updated from {previous_version} to {doc['vesion']}")
print(f"\033[95mVersion for asset {name_without_extension} has been updated from {previous_version} to {doc['version']}")

def is_release_latest(repo, token, release_version):
api_headers = get_headers(True, token)
Expand Down

0 comments on commit 720bad4

Please sign in to comment.