From d93c335d0017613c675120571390a69df8e73141 Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Sun, 23 May 2021 15:11:11 +0200 Subject: [PATCH] [doc] #164: Document how to update the copyright year --- CONTRIBUTING.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bc695d8c..279475ce 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,6 +25,10 @@ poetry run black duniterpy/file.py With `pre-commit`, Black is called on staged files, so the commit should fail in case black would make changes. You will have to add Black changes in order to commit your changes. +### Update copyright year +Follow [this documentation](https://github.com/Lucas-C/pre-commit-hooks#removing-old-license-and-replacing-it-with-a-new-one) +Only difference is to update the year in `license_header.txt` rather than `LICENSE.txt`. + ## Release workflow To handle a release, you have to respect this workflow: -- GitLab