mirror of https://code.forgejo.org/forgejo/runner
keep .git on build to extract version from tag
Otherwise the version is empty and --version does not work Fixes: https://code.forgejo.org/forgejo/runner/issues/14pull/15/head
parent
0048a1dfbc
commit
56909d2f20
|
@ -1,3 +1,2 @@
|
|||
.git
|
||||
Dockerfile
|
||||
forgejo-runner
|
||||
|
|
|
@ -48,4 +48,7 @@ jobs:
|
|||
# Minimal sanity checks. e2e test is for the setup-forgejo action
|
||||
# and the infrastructure playbook.
|
||||
#
|
||||
curl -sS $url/root/runner/releases/download/v1.2.3/forgejo-runner-amd64 > /dev/null
|
||||
curl -L -sS $url/root/runner/releases/download/v1.2.3/forgejo-runner-amd64 > forgejo-runner
|
||||
chmod +x forgejo-runner
|
||||
./forgejo-runner --version | grep 1.2.3
|
||||
|
||||
|
|
Loading…
Reference in New Issue