lib/docman/cli.rb in docman-0.0.100 vs lib/docman/cli.rb in docman-0.0.101

- old
+ new

@@ -44,10 +44,10 @@ method_option :debug, :aliases => '-d', :desc => 'Debug' method_option :config, :desc => 'Configuration override JSON' method_option :config_dir, :desc => 'Config directories divided by coma where docman will search for config.yaml' option :tag def build(deploy_target="git_target", state="") - docman_state_var = "DOCMAN_STATE" + docman_state_var = "RELEASE_STATE" if ENV.has_key? docman_state_var and ENV[docman_state_var].length > 0 state = ENV[docman_state_var] end if state.length > 0 get_to_root_dir \ No newline at end of file