mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 02:12:08 +08:00
tarball contents should match the filename
This commit is contained in:
parent
b1d8492c3f
commit
a00b979bb6
|
@ -21,9 +21,10 @@ prefix="fish"
|
||||||
|
|
||||||
# Get the version from git-describe
|
# Get the version from git-describe
|
||||||
VERSION=`git describe --tags --dirty 2>/dev/null`
|
VERSION=`git describe --tags --dirty 2>/dev/null`
|
||||||
|
prefix="$prefix-$VERSION"
|
||||||
|
|
||||||
# The path where we will output the tar file
|
# The path where we will output the tar file
|
||||||
path=~/fish_built/fish-$VERSION.tar
|
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".gz
|
||||||
|
|
Loading…
Reference in New Issue
Block a user