Skip to content

Commit

Permalink
Update push aur
Browse files Browse the repository at this point in the history
  • Loading branch information
alanvardy committed Oct 10, 2023
1 parent 34ca48c commit 7a4a54c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
5 changes: 3 additions & 2 deletions push_aur.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
cd ../gpto-bin/ || exit
git pull
cd ../gpto/ || exit
mv target/cargo-aur/PKGBUILD ./PKGBUILD
makepkg --printsrcinfo > ../gpto-bin/.SRCINFO
mv PKGBUILD ../gpto-bin/
rm *.tar.gz
rm target/cargo-aur/*.tar.gz
cd ../gpto-bin/ || exit
git add .
git commit -m "new version"
git push aur
cd ../gpto || exit
cd ../gpto || exit
7 changes: 7 additions & 0 deletions setup_aur.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

cd ~/dev || exit
git clone ssh://[email protected]/gpto-bin.git
cd gpto-bin || exit
git remote add aur ssh://[email protected]/gpto-bin.git
cd ../gpto || exit

0 comments on commit 7a4a54c

Please sign in to comment.