Ensure import branch always exists. Refs #112

This commit is contained in:
Pavel Chipiga 2012-01-30 18:23:10 +02:00
parent 95b566dc10
commit 5126aa796c
1 changed files with 3 additions and 2 deletions

View File

@ -32,8 +32,9 @@ rm -f srpm.cpio
# Commit and push changes
git add -A .
git commit -m "Automatic import for version $version"
git push origin HEAD
git commit -m "Automatic import for version $version"
git branch $git_branch # Ensure branch exists
git push origin master $git_branch
# Cleanup
rm -rf $tmp_dir