#!/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