deforaos-job-git-tag-release: fix uploading archives
This commit is contained in:
parent
890feda258
commit
1361b8785a
|
@ -82,8 +82,7 @@ _tag_release_do()
|
||||||
{
|
{
|
||||||
repository="$1"
|
repository="$1"
|
||||||
tag="$2"
|
tag="$2"
|
||||||
version="$(echo "$tag" | $TR "_-" "-.")"
|
filename="$(echo "$tag" | $TR "_-" "-.").tar.gz"
|
||||||
filename="${repository#*/}-$version.tar.gz"
|
|
||||||
|
|
||||||
#update submodules if any
|
#update submodules if any
|
||||||
if [ -f "$tmpdir/repository/.gitmodules" ]; then
|
if [ -f "$tmpdir/repository/.gitmodules" ]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user