Browse Source

Merge pull request #32 from nexeck/pr/checkout_jenkins_branch

Do not checkout HEAD, checkout the Branch that is given in jenkins
merge-requests/109/head
Michael Prokop 10 years ago
parent
commit
75be3a914a
  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