aur/drone/update.sh
nyyu db806626d7
All checks were successful
continuous-integration/drone/push Build is passing
add auto update drone
2021-07-26 20:34:17 +02:00

9 lines
189 B
Bash
Executable file

#!/bin/sh
source ../.util.sh
ver=`curl -s https://api.github.com/repos/drone/drone/tags | jq -r '.[0].name' | cut -c2-`
echo $ver
sed -i "s/pkgver=.*/pkgver=${ver}/" PKGBUILD
update_pkg