release workflow add initprovider again

This commit is contained in:
Nicola Murino 2020-10-10 22:29:04 +02:00
parent 765bad5edd
commit 8d4f40ccd2
No known key found for this signature in database
GPG key ID: 2F1FB59433D5A8CB

View file

@ -111,6 +111,10 @@ jobs:
$DATE_TIME = ([datetime]::Now.ToUniversalTime().toString("yyyy-MM-ddTHH:mm:ssZ")) | Out-String
go build -ldflags "-s -w -X github.com/drakkan/sftpgo/version.commit=$GIT_COMMIT -X github.com/drakkan/sftpgo/version.date=$DATE_TIME" -o sftpgo.exe
- name: Initialize data provider
run: ./sftpgo initprovider
shell: bash
- name: Get SFTPGo version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}