Skip to content

Commit

Permalink
(+semver: feature) Use current year to generate copyright notice in l…
Browse files Browse the repository at this point in the history
…icense (#6)
  • Loading branch information
cuevaskoch authored and thzinc committed Oct 16, 2018
1 parent df49030 commit 2a0984e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion content/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@
"defaultValue": "[email protected]",
"replaces": "$contactEmail"
},
"copyrightYear": {
"type": "generated",
"generator": "now",
"replaces": "$copyrightYear",
"parameters": {
"format": "yyyy"
}
},
"githubOwner": {
"type": "parameter",
"defaultValue": "syncromatics",
Expand Down Expand Up @@ -68,4 +76,4 @@
"replaces": "$nugetPackage"
}
}
}
}
4 changes: 2 additions & 2 deletions content/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017 $authorName
Copyright (c) $copyrightYear $authorName

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.

0 comments on commit 2a0984e

Please sign in to comment.