This commit is contained in:
parent
2870157c78
commit
db806626d7
2 changed files with 27 additions and 0 deletions
9
drone/update.sh
Executable file
9
drone/update.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/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
|
Loading…
Add table
Add a link
Reference in a new issue