forgejo-runner: use the installed binary to display the version

This commit is contained in:
Earl Warren 2023-12-21 15:06:26 +01:00
parent 46df17e2c6
commit c14cb08fbf
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -78,6 +78,6 @@ function build_runner() {
make build
)
mv $tmp/forgejo-runner/forgejo-runner $dir
forgejo-runner --version
$dir/forgejo-runner --version
rm -fr "$tmp"
}