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

[mod] #252: Create helper to update the copyright year

parent 5ea02661
No related branches found
No related tags found
2 merge requests!146Merge dev into master branch to complete v0.8.0 development cycle,!118#252: update copyright date to 2020
#!/bin/fish
# Script to update the copyright year in header files
set NEW_YEAR (date +"%Y")
set OLD_YEAR (math $NEW_YEAR - 1)
sed -i "s/Copyright 2016-$OLD_YEAR M/Copyright 2016-$NEW_YEAR M/g" bin/silkaj silkaj/*.py tests/*.py
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