Skip to content

Commit

Permalink
Just use current year (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
rixx authored Oct 4, 2023
1 parent 89c84b4 commit 739a491
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ project folder created for you::
human_name [The pretix super plugin]: Super Plugin
author_name [Your name]: J Random Developer
author_email [Your email]: [email protected]
year [Current year]: 2017
short_description [Short description]: The best plugin
Select license:
1 - Apache
Expand Down
1 change: 0 additions & 1 deletion cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"human_name": "Superplugin",
"author_name": "Your name",
"author_email": "[email protected]",
"year": "Current year",
"short_description": "Short description",
"license": ["Apache", "pretix Enterprise"],
"min_basever": "2.7.0",
Expand Down
2 changes: 1 addition & 1 deletion {{cookiecutter.repo_name}}/LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% if cookiecutter.license == "Apache" %}
Copyright {{cookiecutter.year}} {{cookiecutter.author_name}}
Copyright {% now 'utc', '%Y' %} {{cookiecutter.author_name}}

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions {{cookiecutter.repo_name}}/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ License
-------

{% if cookiecutter.license == "Apache" %}
Copyright {{cookiecutter.year}} {{cookiecutter.author_name}}
Copyright {% now 'utc', '%Y' %} {{cookiecutter.author_name}}

Released under the terms of the Apache License 2.0
{% elif cookiecutter.license == "pretix Enterprise" %}
Copyright {{cookiecutter.year}} Raphael Michel
Copyright {% now 'utc', '%Y' %} Raphael Michel

Released under the terms of the proprietary pretix Enterprise license.
{% endif %}
Expand Down

0 comments on commit 739a491

Please sign in to comment.