Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated changelog for 3.0 release fixed local tox tests (runtests.sh)
- Loading branch information
1 parent
cccf788
commit 63c1bef
Showing
56 changed files
with
2,835 additions
and
604 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,7 @@ dist/ | |
.coverage | ||
*.sw[po] | ||
|
||
# IDE support | ||
.vscode | ||
|
||
tests/database.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
## Release process | ||
|
||
#### Pre release | ||
|
||
- Set up `.pypirc` file to reference both pypi and testpypi. | ||
|
||
#### Release | ||
|
||
- Ensure that all code has been committed and integration tests have run on Github. | ||
- `make messages` is intended to be run now to keep the translation files up-to-date. | ||
- Run this if there have been any translations updates for the release. | ||
- This creates updates to all translation files so there is no need to commit these unless there have been any translation changes. | ||
|
||
```bash | ||
# checked out clean version | ||
git clone git@github.com:django-import-export/django-import-export.git django-import-export-rel | ||
|
||
cd django-import-export-rel | ||
|
||
# checkout any feature branch at this point | ||
# git checkout develop | ||
|
||
python3 -m venv venv | ||
source venv/bin/activate | ||
pip install -U pip setuptools wheel | ||
|
||
pip install -r requirements/deploy.txt | ||
|
||
# zest.releaser pre-release | ||
# (you can set the correct version in this step) | ||
prerelease | ||
``` | ||
|
||
#### Perform the release | ||
|
||
For the first pass you may choose not to upload only to testpypi (not pypi) so that you can check the release. You can check the release by manually downloading the files from testPyPI and checking the contents. | ||
|
||
Once the test file have been checked, run again to upload to PyPI. | ||
|
||
```bash | ||
release | ||
|
||
# resets the version and pushes changes to origin | ||
postrelease | ||
|
||
# remove the rel copy - no longer required | ||
deactivate | ||
cd .. | ||
rm -rf django-import-export-rel | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.