Commit 1e202cea authored by Markus Frosch's avatar Markus Frosch 📣

get_snapshot: Fix tarball suffix

parent f6c041d2
......@@ -61,7 +61,7 @@ if ! git_version=$(git describe --tags "${UPSTREAM_GIT_BRANCH}"); then
git_version=0.0.0.$(git rev-list --count "${UPSTREAM_GIT_BRANCH}").$(git rev-parse --short=12 "${UPSTREAM_GIT_BRANCH}")
fi
package_version=$(echo "$git_version" | sed -e 's/^v//' -e 's/-/+/' -e 's/-/./g')
tarball="${workdir}/${PROJECT}_${package_version}.tar"
tarball="${workdir}/${PROJECT}_${package_version}.orig.tar"
git archive --format=tar --prefix="${PROJECT}_${package_version}/" -o "${tarball}" "${UPSTREAM_GIT_BRANCH}"
......
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