CI FreeBSD: install git

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino 2023-03-15 20:20:52 +01:00
parent 72e0325d05
commit 783dff369b
No known key found for this signature in database
GPG key ID: 935D2952DEC4EECF

View file

@ -9,6 +9,7 @@ freebsd_task:
pkginstall_script:
- pkg update -f
- pkg install -y go
- pkg install -y git
compile_script:
- go build -trimpath -tags nopgxregisterdefaulttypes -ldflags "-s -w -X github.com/drakkan/sftpgo/v2/internal/version.commit=`git describe --always --abbrev=8 --dirty` -X github.com/drakkan/sftpgo/v2/internal/version.date=`date -u +%FT%TZ`" -o sftpgo