keep .git on build to extract version from tag #15

Merged
earl-warren merged 1 commit from :wip-release into main 2023-04-03 15:14:32 +00:00
2 changed files with 4 additions and 2 deletions

View file

@ -1,3 +1,2 @@
.git
Dockerfile
forgejo-runner

View file

@ -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