diff options
Diffstat (limited to 'publish.sh')
-rwxr-xr-x | publish.sh | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/publish.sh b/publish.sh index 34b6c528fce6..aa18bce5439a 100755 --- a/publish.sh +++ b/publish.sh @@ -2,20 +2,15 @@ set -e # exit on error -./clean.sh +echo "cleanup" +sudo rm -rf */ -# run tests first -dotnet test -c Test - -# update SRCINFO +echo "update SRCINFO" makepkg --printsrcinfo > .SRCINFO -(git add .SRCINFO && git commit -m "SRCINFO" && git push) || (echo "Failed to commit .SRCINFO" >&2 | return) - -# build the executable -makepkg -f --noconfirm +(git add .SRCINFO && git commit -m "SRCINFO") || true -# push to aur +echo "push to aur" if [ -z "$(git remote | grep aur)" ]; then git remote add aur ssh://aur@aur.archlinux.org/rgx-git.git fi -git push aur +git push --set-upstream aur master |