diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 5837f29940..f9ee58e917 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -35,7 +35,8 @@ jobs: if [[ `git status --porcelain` ]]; then git config user.name "Package Update Checker" git config user.email "<>" - git commit -a -m "Automatic Update" + git status | grep modified | sed -r "s@.+/([^/]+)/[^/]+\n?@\1 @g" | tr -d '\n' > $m + git commit -a -m "Automatic Update: $m" git push -u origin main echo "updated=1" >> $GITHUB_OUTPUT fi diff --git a/anda/games/prismlauncher-nightly/chkupdate.py b/anda/games/prismlauncher-nightly/chkupdate.py index 9cae9fd94b..fd7409d4ba 100644 --- a/anda/games/prismlauncher-nightly/chkupdate.py +++ b/anda/games/prismlauncher-nightly/chkupdate.py @@ -10,7 +10,7 @@ REGEX_SHA = r'%global commit (.+)' SPEC = f"{NAME}.spec" LINK = f'https://api.github.com/repos/{REPO}/commits/HEAD' -#if datetime.utcnow().hour != 0: exit(f'{NAME}: skipping update check') +if datetime.utcnow().hour != 0: exit(f'{NAME}: skipping update check') sha = requests.get(LINK).json()['sha'] f = open(SPEC, 'r') diff --git a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec index 44d2e6dde1..4157548a9e 100644 --- a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec +++ b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec @@ -2,7 +2,7 @@ %global real_name prismlauncher %global repo https://github.com/%{fancy_name}/%{fancy_name} -%global commit f229574758871d7e95c835c3ec026635799c7015 +%global commit 87b0d3fe11c1134bf17e1027fda7125f77e09821 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global filesystem_commit cd6805e94dd5d6346be1b75a54cdc27787319dd2 %global libnbtplusplus_commit 2203af7eeb48c45398139b583615134efd8d407f diff --git a/anda/games/prismlauncher-qt5-nightly/chkupdate.py b/anda/games/prismlauncher-qt5-nightly/chkupdate.py index 71ef61410c..bfaeedc8d7 100644 --- a/anda/games/prismlauncher-qt5-nightly/chkupdate.py +++ b/anda/games/prismlauncher-qt5-nightly/chkupdate.py @@ -10,7 +10,7 @@ REGEX_SHA = r'%global commit (.+)' SPEC = f"{NAME}.spec" LINK = f'https://api.github.com/repos/{REPO}/commits/HEAD' -#if datetime.utcnow().hour != 0: exit(f'{NAME}: skipping update check') +if datetime.utcnow().hour != 0: exit(f'{NAME}: skipping update check') sha = requests.get(LINK).json()['sha'] f = open(SPEC, 'r') diff --git a/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec b/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec index db4ecd990b..45158c8506 100644 --- a/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec +++ b/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec @@ -2,7 +2,7 @@ %global real_name prismlauncher %global repo https://github.com/%{fancy_name}/%{fancy_name} -%global commit f229574758871d7e95c835c3ec026635799c7015 +%global commit 87b0d3fe11c1134bf17e1027fda7125f77e09821 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global filesystem_commit cd6805e94dd5d6346be1b75a54cdc27787319dd2 %global libnbtplusplus_commit 2203af7eeb48c45398139b583615134efd8d407f