diff options
-rw-r--r-- | tasks/rake/testbranch.rake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tasks/rake/testbranch.rake b/tasks/rake/testbranch.rake index 62304ea0e..fd97f6154 100644 --- a/tasks/rake/testbranch.rake +++ b/tasks/rake/testbranch.rake @@ -1,12 +1,12 @@ -desc "Rebuild the 'test' branch" +desc "Rebuild the 'testng' branch" task :testbranch do TEST_SERIES = %x{git config --get puppet.testseriesfile}.chomp sh 'git checkout master' - if %x{git branch}.split("\n").detect { |l| l =~ /\s+test$/ } - sh 'git branch -D test' + if %x{git branch}.split("\n").detect { |l| l =~ /\s+testing$/ } + sh 'git branch -D testing' end - sh 'git checkout -b test' + sh 'git checkout -b testing' File.readlines(TEST_SERIES).each do |line| line.chomp! |