drone-runner-docker: update to 1.6.3
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
db806626d7
commit
143544279e
8
.util.sh
8
.util.sh
@ -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
7
drone-runner-docker/update.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
source ../.util.sh
|
||||||
|
|
||||||
|
update_github_tag drone-runners/drone-runner-docker
|
||||||
|
|
||||||
|
update_pkg
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user