mirror of
https://github.com/dkhamsing/open-source-ios-apps.git
synced 2024-11-27 10:14:59 +03:00
[script] update license display
This commit is contained in:
parent
062c4ee47f
commit
049b22794c
5
.github/osia_convert.rb
vendored
5
.github/osia_convert.rb
vendored
@ -85,8 +85,9 @@ def output_apps(apps)
|
||||
details_list.push "Added #{formatted_date}"
|
||||
end
|
||||
|
||||
unless license.nil?
|
||||
details_list.push "License: [`#{license}`](http://choosealicense.com/licenses/#{license}/)" if license != 'other'
|
||||
unless license.nil?
|
||||
license_display = license=='other'? "`#{license}`" : "[`#{license}`](http://choosealicense.com/licenses/#{license}/)"
|
||||
details_list.push "License: #{license_display}"
|
||||
end
|
||||
|
||||
unless homepage.nil?
|
||||
|
Loading…
Reference in New Issue
Block a user