lib/scms/s3deploy.rb in scms-4.0.0 vs lib/scms/s3deploy.rb in scms-4.0.1
- old
+ new
@@ -14,10 +14,10 @@
s3yamlpath=File.join(config, "_s3config.yml")
settings = YAML.load_file(s3yamlpath)
throw "No bucket defined in _s3config.yml settings file" if settings['bucket'] == nil
ScmsUtils.boldlog( "Syncing with Amazon S3: #{settings['bucket']}" )
- exclude = "(\\.svn$)|(^_)"
+ exclude = "(\\.svn$)|(\\.git$)|(^_)"
if settings['ignore'] != nil
exclude = "#{exclude}|(#{settings["ignore"]})"
end
cmd = "s3sync"
\ No newline at end of file