File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Release History
22
3+ ## 0.5.0 (2023-09-09)
4+ ### Improvements
5+ - Added ` BaseMapping ` class.
6+ ### Fixes
7+ - Corrected a typo in readme.
8+
39## 0.4.0 (2023-08-16)
410### Improvements
511- Added ` in_virtual_environment ` function.
2733- Removed redundant statement in CodeTimer class.
2834
2935## 0.1.0 (2023-04-09)
30- First release.
36+ First release.
Original file line number Diff line number Diff line change 22requires = [" setuptools>=61.0" ]
33build-backend = " setuptools.build_meta"
44
5+ [tool .setuptools ]
6+ packages = [" jacktrade" ]
7+
58[project ]
69name = " jacktrade"
7- version = " 0.4 .0"
10+ version = " 0.5 .0"
811authors = [
912 { name =" Mario Zaja" , email =" mzaja0@gmail.com" },
1013]
@@ -22,4 +25,4 @@ keywords = ["utils", "utilities"]
2225
2326[project .urls ]
2427"Homepage" = " https://github.com/mzaja/jacktrade"
25- "Bug Tracker" = " https://github.com/mzaja/jacktrade/issues"
28+ "Bug Tracker" = " https://github.com/mzaja/jacktrade/issues"
Original file line number Diff line number Diff line change 1+ @ ECHO OFF
12@ REM Publishes the package to PyPI
23@ REM Install/upgrade twine using: python -m pip install twine --upgrade
34@ REM API access token must be present in %USERPROFILE%\.pypirc
78
89@ REM Manually execute the command below to upload to PyPI
910@ REM python -m twine upload dist/*
10- @ REM Do not forget to tag the release
11- @ REM git tag v0.2.1
12- @ REM git push --tags
11+
12+ @ REM Check history, commit, tag the release and push to remote
13+ SET RELEASE_VERSION = 0.5.0
14+ FINDSTR %RELEASE_VERSION% " HISTORY.md"
15+ IF %ERRORLEVEL% NEQ 0 (
16+ ECHO HISTORY.md does not contain the release version!
17+ EXIT /B 1
18+ ) ELSE (
19+ pre-commit run
20+ IF %ERRORLEVEL% NEQ 0 (
21+ ECHO pre-commit found errors and modified files!
22+ EXIT /B 1
23+ )
24+ git add .
25+ git commit -m " Prepare release %RELEASE_VERSION% "
26+ git tag v%RELEASE_VERSION%
27+ git push
28+ git push --tags
29+ )
You can’t perform that action at this time.
0 commit comments