Eliminado el soporte de discord.
Corrección de nombres y typos. Eliminación de código innecesario. Depuración archivos de idiomas.
This commit is contained in:
@@ -10,7 +10,6 @@ import hashlib
|
||||
import pytz
|
||||
from datetime import datetime
|
||||
import requests
|
||||
from discord_webhook import DiscordWebhook
|
||||
from pathlib import Path
|
||||
from typing import Tuple
|
||||
|
||||
@@ -397,17 +396,17 @@ DOWNLOADS - {build_info["build_type"]}
|
||||
return text_summary
|
||||
|
||||
def update_fs_version_mgr(build_info, config):
|
||||
print(f"Updating Firestorm Version Manager for build_type {build_info['build_type']}")
|
||||
print(f"Updating Puma Version Manager for build_type {build_info['build_type']}")
|
||||
# Read the secret key from environment variables
|
||||
secret_key = os.environ.get('FS_VERSION_MGR_KEY')
|
||||
secret_key = os.environ.get('PM_VERSION_MGR_KEY')
|
||||
if not secret_key:
|
||||
print("Error: FS_VERSION_MGR_KEY not set")
|
||||
print("Error: PM_VERSION_MGR_KEY not set")
|
||||
sys.exit(1)
|
||||
|
||||
secret_for_api = generate_secret(secret_key)
|
||||
build_type = build_info["build_type"].lower()
|
||||
version = os.environ.get('FS_VIEWER_VERSION')
|
||||
build_number = os.environ.get('FS_VIEWER_BUILD')
|
||||
version = os.environ.get('PM_VIEWER_VERSION')
|
||||
build_number = os.environ.get('PM_VIEWER_BUILD')
|
||||
|
||||
for file_key in build_info["downloadable_artifacts"]:
|
||||
try:
|
||||
@@ -549,4 +548,4 @@ def main():
|
||||
|
||||
if __name__ == '__main__':
|
||||
import sys
|
||||
main()
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user