9 lines
189 B
Bash
Executable file
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
|