File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -9,17 +9,20 @@ commit_email=$INPUT_COMMIT_EMAIL
99ssh_private_key=$INPUT_SSH_PRIVATE_KEY
1010commit_message=$INPUT_COMMIT_MESSAGE
1111
12+ echo ' Adding aur.archlinux.org to known hosts...'
1213ssh-keyscan -t ed25519 aur.archlinux.org >> ~ /.ssh/known_hosts
1314
15+ echo ' Importing private key...'
1416echo " $ssh_private_key " > ~ /.ssh/aur
15-
1617chmod 600 ~ /.ssh/aur*
1718
19+ echo ' Configuring git...'
1820git config --global user.name " $commit_username "
1921git config --global user.email " $commit_email "
2022
2123repo_url=
" ssh://[email protected] /${pkgname} .git" 2224
25+ echo " Cloning $repo_url into /local-repo..."
2326git clone " $repo_url " /local-repo
2427
2528echo " Copying PKGBUILD from $pkgbuild to /local-repo"
@@ -28,6 +31,7 @@ cp -v "$pkgbuild" /local-repo/PKGBUILD
2831echo " Updating .SRCINFO"
2932makepkg --printsrcinfo > /local-repo/.SRCINFO
3033
34+ echo " Publishing..."
3135git add -fv PKGBUILD .SRCINFO
3236git commit --allow-empty -m " $commit_message "
3337git push -fv
You can’t perform that action at this time.
0 commit comments