mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
parent
38d530bc5b
commit
07ba0cb84a
2 changed files with 6 additions and 5 deletions
|
@ -24,6 +24,7 @@
|
||||||
### Deprecations and removed features
|
### Deprecations and removed features
|
||||||
|
|
||||||
### For distributors and developers
|
### 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
|
path=${FISH_ARTEFACT_PATH:-~/fish_built}/$prefix.tar
|
||||||
|
|
||||||
# Clean up stuff we've written before
|
# Clean up stuff we've written before
|
||||||
rm -f "$path" "$path".gz
|
rm -f "$path" "$path".xz
|
||||||
|
|
||||||
# git starts the archive
|
# git starts the archive
|
||||||
git archive --format=tar --prefix="$prefix"/ HEAD > "$path"
|
git archive --format=tar --prefix="$prefix"/ HEAD > "$path"
|
||||||
|
@ -63,9 +63,9 @@ $TAR_APPEND version
|
||||||
cd -
|
cd -
|
||||||
rm -r "$PREFIX_TMPDIR"
|
rm -r "$PREFIX_TMPDIR"
|
||||||
|
|
||||||
# gzip it
|
# xz it
|
||||||
gzip "$path"
|
xz "$path"
|
||||||
|
|
||||||
# Output what we did, and the sha1 hash
|
# Output what we did, and the sha1 hash
|
||||||
echo "Tarball written to $path".gz
|
echo "Tarball written to $path".xz
|
||||||
openssl dgst -sha256 "$path".gz
|
openssl dgst -sha256 "$path".xz
|
||||||
|
|
Loading…
Reference in a new issue