Skip to content
Snippets Groups Projects
Commit 8103b704 authored by Moul's avatar Moul
Browse files

[doc] #134: Document how to update the copyright year

parent 5f87b05d
No related branches found
No related tags found
2 merge requests!157v1.0.0rc0: merge dev into master,!141#134: Introduce insert-license hook and fixup license headers
Pipeline #12749 waiting for manual action
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment