bifurqué depuis cliss21/wagtail-cblocks
feat(make): add release facilities
Parent
948533a5d0
révision
afd76edfc6
|
@ -3,6 +3,7 @@ build/
|
|||
dist/
|
||||
*.egg-info/
|
||||
*.egg
|
||||
.eggs
|
||||
*.py[cod]
|
||||
__pycache__/
|
||||
*.sw[po]
|
||||
|
|
|
@ -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
|
||||
|
|
8
Makefile
8
Makefile
|
@ -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
|
||||
|
|
Chargement…
Référencer dans un nouveau ticket