Sha256: 33e228b1f496b86bcfd9318330d3fafc59152270267b26029f0e62002be47741
Contents?: true
Size: 462 Bytes
Versions: 60
Compression:
Stored size: 462 Bytes
Contents
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+testing$/ } sh 'git branch -D testing' end sh 'git checkout -b testing' File.readlines(TEST_SERIES).each do |line| line.chomp! # Always create a commit for our merge sh "git merge --no-ff #{line}" end end
Version data entries
60 entries across 60 versions & 3 rubygems