mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-16 17:27:38 +00:00
guix: fix githash
This commit is contained in:
parent
a789eae35a
commit
4df5f6b179
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ GIT_ARCHIVE="${DIST_ARCHIVE_BASE}/${DISTNAME}.tar.gz"
|
|||
# Create the source tarball if not already there
|
||||
if [ ! -e "$GIT_ARCHIVE" ]; then
|
||||
mkdir -p "$(dirname "$GIT_ARCHIVE")"
|
||||
echo "$(git_head_version)" > githash.txt
|
||||
git rev-parse --short=12 HEAD > githash.txt
|
||||
( git ls-files --recurse-submodules ; echo "githash.txt" ) | cat | tar --transform 's,^,$DISTNAME/,' -caf ${GIT_ARCHIVE} -T-
|
||||
sha256sum "$GIT_ARCHIVE"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue