Skip to content

Commit

Permalink
Update srcinfo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
oklopfer authored May 3, 2024
1 parent b1bbc96 commit e82a6d5
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/srcinfo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,13 @@ jobs:

- name: Fetch
run: |
git fetch origin && git checkout origin/master
git fetch origin && git checkout master
wget https://raw.githubusercontent.com/oklopfer/debs/master/misc/srcinfo.sh
sudo chmod +x ./srcinfo.sh
- name: Run
run: |
for i in $(git diff --name-only HEAD~1 | grep -E '^packages/[^/]+/[^/]+\.pacscript$'); do
for i in $(git diff HEAD~1 --name-only | grep -E '^packages/[^/]+/[^/]+\.pacscript$'); do
./srcinfo.sh "$i" | tee ${i%/*.pacscript}/.SRCINFO > /dev/null
done
rm ./srcinfo.sh
- name: Push
run: |
git config user.name "GitHub Actions"
git config user.email "[email protected]"
git add .
Expand Down

0 comments on commit e82a6d5

Please sign in to comment.