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

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

parent 5f87b05d
No related branches found
No related tags found
No related merge requests found
Pipeline #12596 passed
...@@ -25,6 +25,10 @@ poetry run black duniterpy/file.py ...@@ -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. 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. 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 ## Release workflow
To handle a release, you have to respect this 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.
Finish editing this message first!
Please register or to comment