Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion bin/post-generation-hook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ PATH=${PROJECT_ROOT}/venv/Scripts:$PATH # expects python environment in venv/
command -v black >/dev/null 2>&1 || { echo >&2 "'black' required, but not found. Please read 'Local installation' section in ${PROJECT_ROOT}/CONTRIBUTING.md file. Aborting."; exit 1; }
command -v flake8 >/dev/null 2>&1 || { echo >&2 "'flake8' required, but not found. Please read 'Local installation' section in ${PROJECT_ROOT}/CONTRIBUTING.md file. Aborting."; exit 1; }
cd "${PROJECT_ROOT}" && black xero_python && flake8 xero_python
python bin/get_yaml_value.py "${1}" "${2}" | xargs python bin/bumpversion.py

# python bin/get_yaml_value.py "${1}" "packageVersion" | xargs python ./bin/bumpversion.py

python ./bin/bumpversion.py $2
5,965 changes: 4,812 additions & 1,153 deletions docs/v1/accounting/index.html

Large diffs are not rendered by default.

Loading