Commit cb1e32e9 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmbph: fix checkout original branch

parent db063257
...@@ -109,6 +109,8 @@ if [ "$PKGVENDOR" = "alt" ] && is_gear $SPECDIR ; then ...@@ -109,6 +109,8 @@ if [ "$PKGVENDOR" = "alt" ] && is_gear $SPECDIR ; then
set_specdir $SPEC set_specdir $SPEC
docmd cd $SPECDIR || fatal docmd cd $SPECDIR || fatal
checkout_original_branch
is_last_commit_tag || fatal "We allow backport only when last commit has (release) tag" is_last_commit_tag || fatal "We allow backport only when last commit has (release) tag"
LASTTAG="$(get_last_tag)" || fatal "Can't get tag for last tag" LASTTAG="$(get_last_tag)" || fatal "Can't get tag for last tag"
......
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