MXC-A36-LVGL/fr3092_lvglcode/lvgl/scripts/release/patch.py

10 lines
378 B
Python
Raw Permalink Normal View History

2024-04-18 10:26:43 +08:00
#!/usr/bin/env python3
# Applies a commit or commits on baranch or branches
# USAGE:
# patch.py -c <commit-list> -b <branch-list> [-p] [-t]
# - <commit-list>: list of commit SHAs to apply.
# - <branch-list>: branches where the commit should be applied. * can be used as wildchar
# - p: push the changes to <brach-list>
# - t: increment version number and create a tag