-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
151 additions
and
27 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 |
---|---|---|
@@ -0,0 +1,88 @@ | ||
# Contributing | ||
|
||
This document describes the process of making a release. | ||
|
||
## Checkout `prod` | ||
|
||
```bash | ||
git checkout prod | ||
git merge --no-ff --no-edit main | ||
``` | ||
|
||
## Update `__about__.py` | ||
|
||
Get the current UTC date+time: | ||
|
||
```bash | ||
python -c"from datetime import datetime; print(datetime.utcnow().isoformat()[:19] + 'Z')" | ||
``` | ||
|
||
Update `__about__.py` with the correct values: | ||
|
||
```python | ||
__version__ = "<<NEW VERSION>>" | ||
__pubdate__ = "<<DATE+TIME IN UTC>>" | ||
``` | ||
|
||
Take the time to also update the `__copyright__` line, if needed. | ||
|
||
Example: | ||
|
||
```python | ||
__version__ = "2.0.3" | ||
__pubdate__ = "2023-05-10T03:44:41Z" | ||
``` | ||
|
||
## Update `CHANGELOG.md` | ||
|
||
Sections order is: `Fixed`, `Changed`, `Added`, `Deprecated`, `Removed`, `Security`. | ||
|
||
```text | ||
--- | ||
[2.0.3]: https://github.com/metaist/ezq/compare/2.0.2...2.0.3 | ||
## [2.0.3] - 2023-05-10T03:45:10Z | ||
**Fixed** | ||
**Changed** | ||
**Added** | ||
**Deprecated** | ||
**Removed** | ||
**Security** | ||
``` | ||
|
||
## Update docs | ||
|
||
```bash | ||
pdoc --html --output-dir docs --force src/ezq | ||
mv docs/ezq/* docs/ | ||
``` | ||
|
||
## Check build | ||
|
||
```bash | ||
python setup.py build | ||
twine check dist/* | ||
``` | ||
|
||
## Push | ||
|
||
```bash | ||
git tag 2.0.3 | ||
git push | ||
git push --tags | ||
git checkout main | ||
git merge --no-ff --no-edit production | ||
``` | ||
|
||
## Create Release | ||
|
||
Visit: https://github.com/metaist/ezq/releases/new |
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 |
---|---|---|
|
@@ -3,9 +3,9 @@ | |
"""Simple wrapper for python multiprocessing.""" | ||
|
||
__url__ = "https://github.com/metaist/ezq" | ||
__version__ = "2.0.2" | ||
__pubdate__ = "2021-08-24T17:25:52Z" # date/time in UTC | ||
__version__ = "2.0.3" | ||
__pubdate__ = "2023-05-10T03:44:15Z" # date/time in UTC | ||
__author__ = "Metaist LLC" | ||
__email__ = "[email protected]" | ||
__copyright__ = "Copyright 2021 by Metaist LLC" | ||
__copyright__ = "Copyright 2023 by Metaist LLC" | ||
__license__ = "MIT" |