CI: add commit info in vendored sources

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino 2022-09-08 17:33:42 +02:00
parent fc648454df
commit 3ff7acc1b4
No known key found for this signature in database
GPG key ID: 2F1FB59433D5A8CB

View file

@ -26,6 +26,7 @@ jobs:
run: | run: |
go mod vendor go mod vendor
echo "${SFTPGO_VERSION}" > VERSION.txt echo "${SFTPGO_VERSION}" > VERSION.txt
echo "${GITHUB_SHA::8}" >> VERSION.txt
tar cJvf sftpgo_${SFTPGO_VERSION}_src_with_deps.tar.xz * tar cJvf sftpgo_${SFTPGO_VERSION}_src_with_deps.tar.xz *
env: env:
SFTPGO_VERSION: ${{ steps.get_version.outputs.VERSION }} SFTPGO_VERSION: ${{ steps.get_version.outputs.VERSION }}