CI: add commit info in vendored sources
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
parent
a40fa93d7b
commit
bd585d8e52
1 changed files with 1 additions and 0 deletions
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in a new issue