try again on path, and cleanup unused helper

master
Beq 2024-09-16 12:47:16 +01:00
parent 86522638a4
commit 00ddbf985a
2 changed files with 1 additions and 12 deletions

View File

@ -3,7 +3,7 @@
import json
class BuildConfig:
def __init__(self, config_file='build_config.json'):
def __init__(self, config_file='./fsutils/build_config.json'):
with open(config_file, 'r') as f:
config_data = json.load(f)

View File

@ -27,17 +27,6 @@ def generate_secret(secret_key):
secret_for_api = hashlib.sha1(data.encode()).hexdigest()
return secret_for_api
def map_build_type(build_variant):
# Map your build_variant to the API's build_type values
build_type_mapping = {
'Release': 'regular',
'Beta': 'beta',
'Alpha': 'alpha',
'Nightly': 'nightly',
# Add other mappings if necessary
}
return build_type_mapping.get(build_variant, 'regular')
# run a command line subshell and return the output
# We want to get the following output by looping over the files