feat: use automatic year-range for goheader template
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
Dominik Pschenitschni 2023-04-06 14:31:39 +02:00
parent cfed1f073d
commit 35cced0b08
Signed by: dpschen
GPG Key ID: B257AC0149F43A77
2 changed files with 4 additions and 1 deletions

View File

@ -28,6 +28,9 @@ linters-settings:
min-complexity: 6
goheader:
template-path: code-header-template.txt
values:
const:
year-range: "2018"
issues:
exclude-rules:

View File

@ -1,5 +1,5 @@
Vikunja is a to-do list application to facilitate your life.
Copyright 2018-2021 Vikunja and contributors. All rights reserved.
Copyright {{year-range}} Vikunja and contributors. All rights reserved.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public Licensee as published by