firstTag=$( git tag --sort=creatordate --contains"$lineSha" | head-1)
firstTag=$( git tag --sort=creatordate --contains"$lineSha"'jenkins-*'| head-1)
if[[-n$firstTag]];then
echo-e"\tfirst tag was $firstTag"
...
...
@@ -28,6 +30,6 @@ do
sed-i.bak "$sedExpr""$file"
rm-f"$file.bak"
else
echo-e"\tNot updating file, no tag found. Normal if the associated PR/commit is not merged and released yet"
echo-e"\tNot updating file, no tag found. Normal if the associated PR/commit is not merged and released yet; otherwise make sure to fetch tags from jenkinsci/jenkins"