lib/scms/deploy-s3.rb in scms-4.3.0 vs lib/scms/deploy-s3.rb in scms-4.4.0

- 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$)|(\\.git$)|(^_)" + exclude = "(\\.svn$)|(\\.git$)|(^_)|(^\\.)" if settings['ignore'] != nil exclude = "#{exclude}|(#{settings["ignore"]})" end cmd = "s3sync" \ No newline at end of file