lib/application.rb in docman-0.0.31 vs lib/application.rb in docman-0.0.32

- old
+ new

@@ -100,11 +100,11 @@ filepath = File.join(@workspace_dir, 'state') File.open(filepath, 'w') { |file| file.write(state) } end def write_environment(environment) - filepath = File.join(@workspace_dir, 'environment') - File.open(filepath, 'w') { |file| file.write(environment) } + filepath = File.join(@workspace_dir, 'last_deploy.properties') + File.open(filepath, 'w') { |file| file.write("ENV=#{environment}") } end def execute(action, state, name = nil, tag = nil) params = Marshal.load(Marshal.dump(@deploy_target)) params['state'] = state