Commit 6094bd3a authored by Peter J. Mello's avatar Peter J. Mello
Browse files

Correct tar command syntax

parent 7a2876f4
Pipeline #45946 failed with stages
in 3 minutes and 31 seconds
......@@ -96,7 +96,7 @@ fi
echo "Unpacking the release archive..."
tar xzf "${PACKAGE_DIR}"/"${PACKAGE_NAME}"-"${LATEST_TAG}".tar.gz -C "${PACKAGE_DIR}"
mv "${PACKAGE_DIR}"/"${PACKAGE_NAME}"-"${LATEST_TAG}" "${PACKAGE_DIR}"/"${PACKAGE_NAME}"-"${UPSTREAM_VER}"
tar cJf "${PACKAGE_NAME}"_"${UPSTREAM_VER}".orig.tar.xz -I xz -z -T 0 -- "${PACKAGE_DIR}"/"${PACKAGE_NAME}"-"${UPSTREAM_VER}"
tar cJf "${PACKAGE_NAME}"_"${UPSTREAM_VER}".orig.tar.xz "${PACKAGE_DIR}"/"${PACKAGE_NAME}"-"${UPSTREAM_VER}"
rm -f "${PACKAGE_DIR}"/"${PACKAGE_NAME}"-"${LATEST_TAG}".tar.gz
# Copy the Debian packaging files into the same directory as the source code and
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment