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

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