Remove *-latest tag to prevent remote/local collisions.

This commit is contained in:
Karl Matthias
2012-05-30 22:22:55 +01:00
parent 6eed2bcd51
commit 595e5f377a
2 changed files with 2 additions and 12 deletions
+2 -3
View File
@@ -64,10 +64,9 @@ describe Capistrano::DeployTags do
with_clean_repo do
configuration.find_and_execute_task('git:tagdeploy')
tags = `git tag -l`.split(/\n/).sort
tags.should have(2).items
tags = `git tag -l`.split(/\n/)
tags.should have(1).items
tags.first.should =~ /^test-\d{4}\.\d{2}\.\d{2}/
tags.last.should == 'test-latest'
end
end
end