mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2024-11-24 21:58:46 +03:00
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/14
This commit is contained in:
parent
0048a1dfbc
commit
56909d2f20
2 changed files with 4 additions and 2 deletions
|
@ -1,3 +1,2 @@
|
||||||
.git
|
|
||||||
Dockerfile
|
Dockerfile
|
||||||
forgejo-runner
|
forgejo-runner
|
||||||
|
|
|
@ -48,4 +48,7 @@ jobs:
|
||||||
# Minimal sanity checks. e2e test is for the setup-forgejo action
|
# Minimal sanity checks. e2e test is for the setup-forgejo action
|
||||||
# and the infrastructure playbook.
|
# 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 a new issue