1
0
mirror of https://github.com/github/choosealicense.com synced 2024-11-05 19:28:50 +01:00

add '+' to spdx id if _GPL

This commit is contained in:
Mike Linksvayer 2016-05-30 18:34:51 -07:00
parent 37e3a00efb
commit 6b2eaebac5

View File

@ -12,7 +12,9 @@
<strong>Note: </strong> {{ page.note | markdownify | remove: '<p>' | remove: '</p>' }}
</p>
{% 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>
{% if page.source %}