From 3456d56ae0653c1c0b80b88234361eb3a3f6aa9e Mon Sep 17 00:00:00 2001 From: flisko Date: Thu, 15 Jan 2026 14:42:41 +0100 Subject: [PATCH] Revert "Update update_upstream.py" This reverts commit 6a0741f5238b666a99d6c197f82b152c7a4dc219. --- .github/scripts/update_upstream.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/scripts/update_upstream.py b/.github/scripts/update_upstream.py index 4eb3291..e137d7e 100755 --- a/.github/scripts/update_upstream.py +++ b/.github/scripts/update_upstream.py @@ -4,12 +4,12 @@ This script: 1. Fetches the latest release from ethereum/go-ethereum -2. Compares it with the current upstream version in build/dappnode_package.json +2. Compares it with the current upstream version in build/dappnode_package-mainnet.json 3. If a newer version is found: - - Increments the patch version in dappnode_packagejson - - Updates the upstream version in dappnode_package.json - - Updates the image tag in docker-compose.yml - - Updates the VERSION build arg in docker-compose.yml + - Increments the patch version in dappnode_package-mainnet.json + - Updates the upstream version in dappnode_package-mainnet.json + - Updates the image tag in docker-compose-mainnet.yml + - Updates the VERSION build arg in docker-compose-mainnet.yml Note: Only mainnet files are updated by this script. """ @@ -200,7 +200,7 @@ def main(): sys.exit(1) # Read current upstream version from mainnet package - mainnet_package_path = build_dir / 'dappnode_package.json' + mainnet_package_path = build_dir / 'dappnode_package-mainnet.json' if not mainnet_package_path.exists(): print(f"Error: {mainnet_package_path} not found") @@ -230,8 +230,8 @@ def main(): print("=" * 60 + "\n") # Only update mainnet files - mainnet_package = build_dir / 'dappnode_package.json' - mainnet_compose = build_dir / 'docker-compose.yml' + mainnet_package = build_dir / 'dappnode_package-mainnet.json' + mainnet_compose = build_dir / 'docker-compose-mainnet.yml' if not mainnet_package.exists(): print(f"Error: {mainnet_package} not found")