HDDS-84. The root directory of ozone.tar.gz should contain the version string. Contributed by Elek, Marton.
This commit is contained in:
parent
f61e3e752e
commit
63fc5873ce
|
@ -41,7 +41,7 @@ function run()
|
||||||
#To include the version name in the root directory of the tar file
|
#To include the version name in the root directory of the tar file
|
||||||
# we create a symbolic link and dereference it during the tar creation
|
# we create a symbolic link and dereference it during the tar creation
|
||||||
ln -s -f ozone ozone-${VERSION}
|
ln -s -f ozone ozone-${VERSION}
|
||||||
run tar -c --dereference -f "ozone-${VERSION}.tar" "ozone"
|
run tar -c --dereference -f "ozone-${VERSION}.tar" "ozone-${VERSION}"
|
||||||
run gzip -f "ozone-${VERSION}.tar"
|
run gzip -f "ozone-${VERSION}.tar"
|
||||||
echo
|
echo
|
||||||
echo "Ozone dist tar available at: ${BASEDIR}/ozone-${VERSION}.tar.gz"
|
echo "Ozone dist tar available at: ${BASEDIR}/ozone-${VERSION}.tar.gz"
|
||||||
|
|
Loading…
Reference in New Issue