Method: Gct::Command::Unskip::Tag#run
- Defined in:
- lib/gct/command/unskip/tag.rb
#run ⇒ Object
30 31 32 33 34 35 36 37 38 |
# File 'lib/gct/command/unskip/tag.rb', line 30 def run db = Database::Data.new if !@tag.nil? tag_set = ", tag_version = '#{@tag}'" end update_code = "is_skip_tag = 0, tag_status = 'waiting'#{tag_set}" sql = "update tag set #{update_code} where pod_name = '#{@pod_name}' and project_version = '#{@project_version}'" res = db.query(sql) end |