From 0547068ed0bee466bd1e1f8931c0f6d7ebf8ddb2 Mon Sep 17 00:00:00 2001 From: chris48s Date: Tue, 4 Aug 2020 20:23:50 +0100 Subject: [PATCH] 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 --- .github/workflows/CICD.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index 33b0869b..853e60d0 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -276,6 +276,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" @@ -328,6 +329,7 @@ jobs: Files: * Copyright: ${{ env.PROJECT_MAINTAINER }} + Copyright: $COPYRIGHT_YEARS ${{ env.PROJECT_MAINTAINER }} License: Apache-2.0 or MIT License: Apache-2.0