Browse Source

Do not checkout HEAD, checkout the Branch that is given in jenkins

merge-requests/109/head
Marcel Beck 10 years ago
committed by Marcel Beck
parent
commit
bd87c782e7
  1. 2
      scripts/generate-git-snapshot

2
scripts/generate-git-snapshot

@ -210,7 +210,7 @@ else
git-buildpackage ${GBP_OPTS}
fi
git checkout - # switch back to previous "branch" before removing the tmp branch
git checkout ${GIT_BRANCH} # switch back to previous "branch" before removing the tmp branch
git branch -D "$random_branch"
# build source package

Loading…
Cancel
Save