Skip to content

Commit

Permalink
generate-git-snapshot: make sure all files are up2date through runnin…
Browse files Browse the repository at this point in the history
…g "git pull"

For some reason the Git plugin in Jenkins doesn't run the
'git pull' for us, so while the files are fetched already
they aren't present in the working directory yet.
So let's make sure we actually have the files we're claiming
to work with.
  • Loading branch information
mika committed Nov 23, 2011
1 parent 8fda5aa commit 71e5ba1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/generate-git-snapshot
Expand Up @@ -111,6 +111,9 @@ branch_checkout debian
branch_checkout upstream
git checkout master

# make sure all files are up2date
git pull

rm -rf .pc

if [ -n "${tag:-}" ] ; then
Expand Down

0 comments on commit 71e5ba1

Please sign in to comment.