mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
add '+' to spdx id if _GPL
This commit is contained in:
parent
37e3a00efb
commit
6b2eaebac5
@ -12,7 +12,9 @@
|
|||||||
<strong>Note: </strong> {{ page.note | markdownify | remove: '<p>' | remove: '</p>' }}
|
<strong>Note: </strong> {{ page.note | markdownify | remove: '<p>' | remove: '</p>' }}
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<p>You can also add <strong><code>{{ page.spdx-id }}</code></strong>, the standard identifier for this license, to your project's package description, if applicable. Examples: <a href="https://docs.npmjs.com/files/package.json#license">Node.js</a>, <a href="http://guides.rubygems.org/specification-reference/#license=">Ruby</a>, and <a href="http://doc.crates.io/manifest.html#package-metadata">Rust</a>.</p>
|
{% assign xgpl = false %}
|
||||||
|
{% if page.spdx-id contains 'GPL' %}{% assign xgpl = true %}{% endif %}
|
||||||
|
<p>You can also add <strong><code>{{ page.spdx-id }}</code>{% if xgpl %}+{% endif %}</strong>{% if xgpl %} (or <strong><code>{{ page.spdx-id }}</code></strong> to disallow future versions){% endif %}, the standard identifier for this license, to your project's package description, if applicable. Examples: <a href="https://docs.npmjs.com/files/package.json#license">Node.js</a>, <a href="http://guides.rubygems.org/specification-reference/#license=">Ruby</a>, and <a href="http://doc.crates.io/manifest.html#package-metadata">Rust</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if page.source %}
|
{% if page.source %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user