mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
parent
38d530bc5b
commit
07ba0cb84a
2 changed files with 6 additions and 5 deletions
|
@ -24,6 +24,7 @@
|
|||
### Deprecations and removed features
|
||||
|
||||
### For distributors and developers
|
||||
- fish source tarballs are now distributed using the XZ compression method (#5460).
|
||||
|
||||
---
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ prefix="fish-$VERSION"
|
|||
path=${FISH_ARTEFACT_PATH:-~/fish_built}/$prefix.tar
|
||||
|
||||
# Clean up stuff we've written before
|
||||
rm -f "$path" "$path".gz
|
||||
rm -f "$path" "$path".xz
|
||||
|
||||
# git starts the archive
|
||||
git archive --format=tar --prefix="$prefix"/ HEAD > "$path"
|
||||
|
@ -63,9 +63,9 @@ $TAR_APPEND version
|
|||
cd -
|
||||
rm -r "$PREFIX_TMPDIR"
|
||||
|
||||
# gzip it
|
||||
gzip "$path"
|
||||
# xz it
|
||||
xz "$path"
|
||||
|
||||
# Output what we did, and the sha1 hash
|
||||
echo "Tarball written to $path".gz
|
||||
openssl dgst -sha256 "$path".gz
|
||||
echo "Tarball written to $path".xz
|
||||
openssl dgst -sha256 "$path".xz
|
||||
|
|
Loading…
Reference in a new issue