1. Yuen-Chi Lian
  2. amp

Commits

Yuen-Chi Lian  committed 2b3ab87

Include license in releases data.

  • Participants
  • Parent commits 3605c6e
  • Branches develop

Comments (0)

Files changed (1)

File releases.rb

View file
         o = p['name'] + "\t"
         o += Date.parse(v['releaseDate']).strftime('%Y-%m-%d')  + "\t"
         o += v['version'] + "\t"
+        o += v['license']['id'] + "\t"
         o += v['releasedBy'] ? v['releasedBy'] + "\t" : "\t"
 
         o += c['applicationName'] + "\t"
 
 end
 
-puts "Name\tDate\tVersion\tAuthor\tApplication\tMin\tMax\tCompatibility?"
+puts "Name\tDate\tVersion\tLicense\tAuthor\tApplication\tMin\tMax\tCompatibility?"
 
 Vendor.new(
   ENV['AMP_URL'] || 'https://marketplace.atlassian.com',