mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-04 10:52:18 +00:00
Merge branch 'main' of github.com:terrapkg/packages
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user