Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/origin/main' into hotfix/clang_…
Browse files Browse the repository at this point in the history
…riscv_system_lib_handling
  • Loading branch information
IvanRuzavin committed Aug 15, 2024
2 parents ff55c26 + a915f17 commit 4a8901e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,6 @@ def index_release_to_elasticsearch(es : Elasticsearch, index_name, release_detai
else:
update_package = True

if force:
update_package = True

doc = {
'name': name_without_extension,
'display_name' : metadata_item['display_name'],
Expand Down Expand Up @@ -214,7 +211,7 @@ def index_release_to_elasticsearch(es : Elasticsearch, index_name, release_detai
parser.add_argument("repo", help="Repository name, e.g., 'username/repo'")
parser.add_argument("token", help="GitHub Token")
parser.add_argument("select_index", help="Provided index name")
parser.add_argument("force_index", help="If true will update packages even if hash is the same")
parser.add_argument("force_index", help="If true will update packages even if hash is the same", type=bool)
args = parser.parse_args()

# Elasticsearch instance used for indexing
Expand Down

0 comments on commit 4a8901e

Please sign in to comment.