on master help sign in
include years in copyright notice
0547068chris48s
.github/workflows/CICD.yml+2
@@ -276,6 +276,7 @@ jobs:
276 shell: bash
276 shell: bash
277 run: |
277 run: |
278 ARCHIVE_DIR='${{ steps.vars.outputs.STAGING }}/${{ steps.vars.outputs.PKG_BASENAME }}/'
278 ARCHIVE_DIR='${{ steps.vars.outputs.STAGING }}/${{ steps.vars.outputs.PKG_BASENAME }}/'
279+ COPYRIGHT_YEARS="2018 - "$(date "+%Y")
279 # Binary
280 # Binary
280 cp 'target/${{ matrix.job.target }}/release/${{ env.PROJECT_NAME }}${{ steps.vars.outputs.EXE_suffix }}' "$ARCHIVE_DIR"
281 cp 'target/${{ matrix.job.target }}/release/${{ env.PROJECT_NAME }}${{ steps.vars.outputs.EXE_suffix }}' "$ARCHIVE_DIR"
281
282
@@ -328,6 +329,7 @@ jobs:
328
329
329 Files: *
330 Files: *
330 Copyright: ${{ env.PROJECT_MAINTAINER }}
331 Copyright: ${{ env.PROJECT_MAINTAINER }}
332+ Copyright: $COPYRIGHT_YEARS ${{ env.PROJECT_MAINTAINER }}
331 License: Apache-2.0 or MIT
333 License: Apache-2.0 or MIT
332
334
333 License: Apache-2.0
335 License: Apache-2.0