Class: Docman::SourceTagger

Inherits:
Taggers::Tagger show all
Defined in:
lib/docman/taggers/source_tagger.rb

Instance Attribute Summary

Attributes inherited from Command

#type

Instance Method Summary collapse

Methods inherited from Taggers::Tagger

create, #initialize, register_tagger

Methods inherited from Command

#add_action, #add_actions, #config, create, #describe, #initialize, #perform, #prefix, register_command, #replace_placeholder, #run_actions, #run_with_hooks

Methods included from Logging

#log, logger, #logger, #prefix, #properties_info, #with_logging

Constructor Details

This class inherits a constructor from Docman::Taggers::Tagger

Instance Method Details

#executeObject



8
9
10
11
12
# File 'lib/docman/taggers/source_tagger.rb', line 8

def execute
  if @caller.build_results['master']['version_type'] == 'tag'
    @caller.build_results['master']['version']
  end
end