diff options
author | James Turnbull <james@lovedthanlost.net> | 2009-09-19 09:18:11 +1000 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-09-19 09:18:11 +1000 |
commit | a53a77cef6fe8f4216df3ac2a8a0d387021adb9b (patch) | |
tree | e516808f2b26220e019cfb35c1c8e291d50e728a | |
parent | d054fd91c9f6e4689b28a1db7206574c2c67ef14 (diff) | |
download | puppet-a53a77cef6fe8f4216df3ac2a8a0d387021adb9b.tar.gz puppet-a53a77cef6fe8f4216df3ac2a8a0d387021adb9b.tar.xz puppet-a53a77cef6fe8f4216df3ac2a8a0d387021adb9b.zip |
Renamed test branch to testing in rake task
-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! |