drone-runner-docker: update to 1.6.3
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nyyu 2021-07-26 20:37:40 +02:00
parent db806626d7
commit 143544279e
3 changed files with 16 additions and 3 deletions

View File

@ -1,5 +1,13 @@
#!/bin/sh #!/bin/sh
update_github_tag() {
local repo=$1
ver=`curl -s https://api.github.com/repos/${repo}/tags | jq -r '.[0].name' | cut -c2-`
echo $ver
sed -i "s/pkgver=.*/pkgver=${ver}/" PKGBUILD
}
update_pkg() { update_pkg() {
updpkgsums > /dev/null 2>&1 updpkgsums > /dev/null 2>&1

7
drone-runner-docker/update.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
source ../.util.sh
update_github_tag drone-runners/drone-runner-docker
update_pkg

View File

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