Skip to content

Commit fc4282b

Browse files
committed
fix: include .SRCINFO generation during AUR deployment
1 parent 66d0b8a commit fc4282b

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/staging.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,13 @@ jobs:
8585
8686
# Copy updated PKGBUILD from original repo
8787
cp $GITHUB_WORKSPACE/openssh-gui-git/PKGBUILD .
88-
89-
# Configure git
88+
89+
docker run --rm -v "$(pwd)":/pkg -w /pkg archlinux:latest \
90+
bash -c "pacman -Sy --noconfirm --needed pacman && makepkg --printsrcinfo > .SRCINFO"
91+
9092
git config user.name "${{ github.repository_owner }}"
9193
git config user.email "${{ github.repository_owner }}@users.noreply.github.com"
92-
93-
# Commit and push
94-
git add PKGBUILD
94+
95+
git add PKGBUILD .SRCINFO
9596
git commit -m "Development update ${{ needs.prepare.outputs.tag }}" || true
9697
git push origin master

0 commit comments

Comments
 (0)