feat(make): add release facilities

main
Jérôme Lebleu 2021-03-11 11:05:37 +01:00
Parent 948533a5d0
révision afd76edfc6
3 fichiers modifiés avec 11 ajouts et 0 suppressions

1
.gitignore externe
Voir le fichier

@ -3,6 +3,7 @@ build/
dist/
*.egg-info/
*.egg
.eggs
*.py[cod]
__pycache__/
*.sw[po]

Voir le fichier

@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Unreleased
### Changed
- Improve Makefile documentation and targets with release facilities
## 0.2.0 - 2021-03-10
### Added

Voir le fichier

@ -43,3 +43,11 @@ lint: ## check the Python code syntax and style
format: ## fix the Python code syntax and imports order
$(PYTHON) -m isort wagtail_cblocks tests
$(PYTHON) -m black wagtail_cblocks tests
release: dist ## package and upload a release
twine upload dist/*
dist: clean ## builds source and wheel package
python setup.py sdist
python setup.py bdist_wheel
ls -l dist