summarylogtreecommitdiffstats
path: root/.travis_deploy.sh
diff options
context:
space:
mode:
authorbartus2019-06-04 15:45:34 +0200
committerbartus2019-06-05 08:51:59 +0200
commit4be009da18f3036f2e02cd62ec527bc7e2e7ffe0 (patch)
tree0c5744a2389c0690c3183e4210bb27e249b7c46a /.travis_deploy.sh
parent1a7af6d2cae96350eb3565d07bde1972de74b70b (diff)
downloadaur-4be009da18f3036f2e02cd62ec527bc7e2e7ffe0.tar.gz
check version before rebuild
skip rebuild if upstream version equals one already in AUR-repo force rebuild every '$i' days
Diffstat (limited to '.travis_deploy.sh')
-rw-r--r--.travis_deploy.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/.travis_deploy.sh b/.travis_deploy.sh
index d802c2455be5..d1188d62c723 100644
--- a/.travis_deploy.sh
+++ b/.travis_deploy.sh
@@ -1,3 +1,4 @@
+[ ! -f *pkg.tar.xz ] && exit 0
. PKGBUILD
git clone https://$GITHUB_ACCESS_TOKEN@github.com/bartoszek/AUR-repo.git
cd AUR-repo