Commit 04c53c9a authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmgs: add support tag version_NNNN

parent b126adb6
......@@ -541,7 +541,8 @@ do
rc=1
alternate_tag1="$(echo "v$GSSETVERSION" | sed -e "s|\.|-|g")"
alternate_tag2="$(echo "REL_$GSSETVERSION" | sed -e "s|\.|_|g")"
for i in v$GSSETVERSION $alternate_tag1 $alternate_tag2 ; do
alternate_tag3="$(echo "version_$GSSETVERSION")"
for i in v$GSSETVERSION $alternate_tag1 $alternate_tag2 $alternate_tag3 ; do
git rev-parse $i >/dev/null 2>/dev/null && docmd git merge $i && rc=0 && break
done
[ "$rc" = "0" ] || fatal "Can't find tag for $GSSETVERSION version"
......
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