mirror of
https://github.com/frappe/bench.git
synced 2024-09-24 13:09:01 +00:00
987 B
987 B
Releasing Frappe ERPNext
- Make a new bench dedicated for releasing
bench init release-bench --frappe-path git@github.com:frappe/frappe.git
- Get ERPNext in the release bench
bench get-app erpnext git@github.com:frappe/erpnext.git
- Configure as release bench. Add this to the common_site_config.json
"release_bench": true,
- Add branches to update in common_site_config.json
"branches_to_update": {
"staging": ["develop", "hotfix"],
"hotfix": ["develop", "staging"]
}
- Use the release commands to release
Usage: bench release [OPTIONS] APP BUMP_TYPE
- Arguments :
- APP App name e.g [frappe|erpnext|yourapp]
- BUMP_TYPE [major|minor|patch|stable|prerelease]
- Options:
- --from-branch git develop branch, default is develop
- --to-branch git master branch, default is master
- --remote git remote, default is upstream
- --owner git owner, default is frappe
- --repo-name git repo name if different from app name