Skip to content

Commit

Permalink
🔊 Debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
TaylorBeeston committed Jul 29, 2024
1 parent d4a644c commit ec93b7a
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/release-plz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
setfacl -m u::rwx,g::rwx /home/build
setfacl -d --set u::rwx,g::rwx,o::- /home/build
BUILDDIR=/home/build PKGDEST=/home/build SRCDEST=/home/build runuser -unobody makepkg -- --printsrcinfo > .SRCINFO
ls -a
- name: Import GPG key
env:
Expand All @@ -75,14 +76,27 @@ jobs:
chmod 600 ~/.ssh/aur
eval $(ssh-agent -s)
ssh-add ~/.ssh/aur
# Debug: Print SSH key info
ssh-add -l
# Debug: Verify AUR host key
ssh-keyscan -H aur.archlinux.org
# Add host key with verbose output
ssh-keyscan -H aur.archlinux.org >> ~/.ssh/known_hosts
# Debug: Test SSH connection
ssh -Tvvv aur@aur.archlinux.org
ssh-keyscan -H aur.archlinux.org >> ~/.ssh/known_hosts
git config --global user.name "Taylor Beeston"
git config --global user.email "beeston.taylor@gmail.com"
git config --global user.signingkey $(gpg --list-secret-keys --keyid-format LONG | grep sec | awk '{print $2}' | cut -d'/' -f2)
git config --global commit.gpgsign true
git clone ssh://aur@aur.archlinux.org/image-colorizer.git aur-repo
GIT_SSH_COMMAND="ssh -vvv" git clone ssh://aur@aur.archlinux.org/image-colorizer.git aur-repo
cp PKGBUILD .SRCINFO aur-repo/
cd aur-repo
git add PKGBUILD .SRCINFO
echo $GPG_PASSPHRASE | git commit -S -m "Update to version $(grep -oP '(?<=pkgver=)\S+' PKGBUILD)"
git push
GIT_SSH_COMMAND="ssh -vvv" git push

0 comments on commit ec93b7a

Please sign in to comment.