Merge branch 'main' of github.com:terrapkg/packages

This commit is contained in:
windowsboy111
2022-10-30 21:30:24 +08:00
5 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -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
@@ -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')
@@ -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
@@ -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')
@@ -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