erplibre/doc/RELEASE.md
Mathieu Benoit 2888cbf890 [ADD] poetry support
- Auto regenerate poetry pyproject.toml from all requirements.txt with
script poetry_update.py
- Sort dependancy in pyproject.toml
- Rename directory venv to .venv
- In bash, use USER instead of whoami
- Remove python3 from ubuntu dependancy. Ignore python from system.
- Use pyenv with poetry
- Simplify pip installation script
2020-09-30 20:51:57 -04:00

1 KiB

Release

A guide on how to do a release.

Generate new prod

./.venv/repo manifest -r -o ./default.xml

Do your commit.

git commit -am "[#ticket] subject: short sentence"

Merge release

When ready to make a release, create a branch release/#.#.# and create a pull request to master. Update file CHANGELOG.md and create a section with new version. Merge it when maintener accept it.

Add a tag on the commit on branch master with your release. When adding tag, be sure to update default.xml

git tag v#.#.#
# Push your tags
git push --tags
# Add tags for all repo
./.venv/repo forall -pc "git tag ERPLibre/v#.#.#"
./.venv/repo forall -pc "git push ERPLibre --tags"
# Get all difference between a tag and HEAD, to update the CHANGELOG.md
./.venv/repo forall -pc "git diff ERPLibre/v#.#.#..HEAD"

TIPS

Compare diff repo with another ERPLibre project

To generate a list of differences between repo git commit, do

./script/git_change_remote.py --sync_to /path/to/directory