From c54528925ccfaa6967056fa08cc0f7f505366b94 Mon Sep 17 00:00:00 2001 From: Zhenghao Peng Date: Fri, 26 Jan 2024 08:36:16 -0800 Subject: [PATCH] Releases/0.4.2.3 (#622) * Up * up --- metadrive/version.py | 2 +- setup.py | 18 ++++++++---------- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/metadrive/version.py b/metadrive/version.py index 12d35dd32..b7309cabd 100644 --- a/metadrive/version.py +++ b/metadrive/version.py @@ -1,6 +1,6 @@ from pathlib import Path -VERSION = "0.4.2.2" +VERSION = "0.4.2.3" def asset_version(): diff --git a/setup.py b/setup.py index 7383a65fc..df19ee8cb 100644 --- a/setup.py +++ b/setup.py @@ -108,26 +108,24 @@ def is_win(): 1. Rename VERSION in metadrive/version.py to x.y.z -2. Revise the version in metadrive/assets/version.txt, and compress the folder: zip -r assets.zip assets +2. Revise the version in metadrive/assets/version.txt to x.y.z, and compress the folder: zip -r assets.zip assets -3. commit changes and push this branch to remote +3. Commit changes and push this branch to remote -4. Draft a release on github with new version number and upload assets.zip - -5. Remove old files and ext_modules from setup() to get a clean wheel for all platforms in py3-none-any.wheel +4. Remove old files and ext_modules from setup() to get a clean wheel for all platforms in py3-none-any.wheel rm -rf dist/ build/ documentation/build/ metadrive_simulator.egg-info/ docs/build/ -6. Get wheel +5. Get wheel python setup.py sdist bdist_wheel -7. Upload to production channel +6. Upload to production channel twine upload dist/* -8. Upload the generated .whl files and the assets.zip to the Github release +7. Draft a release on github with new version number and upload assets.zip and the generated .whl files to the release. -9. Publish the release +8. Publish the release -10. merge this branch into main +9. Merge this branch into main !!!!!!!!!!!!! NOTE: please make sure that unzip assets.zip will generate a folder called assets instead of files