summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchris48s <chris.shaw480@gmail.com>2020-08-04 20:23:50 +0100
committerDavid Peter <sharkdp@users.noreply.github.com>2020-08-12 06:47:58 +0200
commit9f91a7d797c9c89eb15f9fe8be76107b4d2ea4aa (patch)
tree62da68890c3361e87932f08c0f8730d579ec3c98
parent4a6b4fb632e95b51b7e6314ab1638017a0abaf52 (diff)
include years in copyright notice
This brings the copyright notice into line with the expected format resolves copyright-without-copyright-notice https://lintian.debian.org/tags/copyright-without-copyright-notice.html
-rw-r--r--.github/workflows/CICD.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml
index f1d6b995..7643aa5e 100644
--- a/.github/workflows/CICD.yml
+++ b/.github/workflows/CICD.yml
@@ -269,6 +269,7 @@ jobs:
shell: bash
run: |
ARCHIVE_DIR='${{ steps.vars.outputs.STAGING }}/${{ steps.vars.outputs.PKG_BASENAME }}/'
+ COPYRIGHT_YEARS="2018 - "$(date "+%Y")
# Binary
cp 'target/${{ matrix.job.target }}/release/${{ env.PROJECT_NAME }}${{ steps.vars.outputs.EXE_suffix }}' "$ARCHIVE_DIR"
@@ -319,6 +320,7 @@ jobs:
Files: *
Copyright: ${{ env.PROJECT_MAINTAINER }}
+ Copyright: $COPYRIGHT_YEARS ${{ env.PROJECT_MAINTAINER }}
License: Apache-2.0 or MIT
License: Apache-2.0