Here are some example commands that can be used as a reference when writing your own.
Shows example of executing update-script.py
from within a virtualenv.
update_command:
- /path/to/project/.venv/bin/python
- /path/to/project/update-script.py
This update command will leverage sed to update the copyright year of all the README.md
files.
...
update_command:
- sed
- -i
- 's/Copyright [0-9]\+/Copyright 2021/g'
- README.md