HDDS-84. The root directory of ozone.tar.gz should contain the version string. Contributed by Elek, Marton.

This commit is contained in:
Mukul Kumar Singh 2018-05-23 21:07:37 +05:30
parent f61e3e752e
commit 63fc5873ce

View File

@ -41,7 +41,7 @@ function run()
#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
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"
echo
echo "Ozone dist tar available at: ${BASEDIR}/ozone-${VERSION}.tar.gz"