deforaos-job-git-tag-release: fix uploading archives

This commit is contained in:
Pierre Pronchery 2022-04-12 20:45:19 +02:00
parent 890feda258
commit 1361b8785a

View File

@ -82,8 +82,7 @@ _tag_release_do()
{
repository="$1"
tag="$2"
version="$(echo "$tag" | $TR "_-" "-.")"
filename="${repository#*/}-$version.tar.gz"
filename="$(echo "$tag" | $TR "_-" "-.").tar.gz"
#update submodules if any
if [ -f "$tmpdir/repository/.gitmodules" ]; then