From 5a784f98a6e4676b64ee5290b577b6d805e60131 Mon Sep 17 00:00:00 2001 From: Patrick von Platen Date: Tue, 7 Jun 2022 19:41:50 +0200 Subject: [PATCH] Dev version --- setup.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index d902811b..17a5dc36 100644 --- a/setup.py +++ b/setup.py @@ -28,11 +28,11 @@ To create the package for pypi. 3. Unpin specific versions from setup.py that use a git install. 4. Checkout the release branch (v-release, for example v4.19-release), and commit these changes with the - message: "Release: " and push. + message: "Release: " and push. 5. Wait for the tests on main to be completed and be green (otherwise revert and fix bugs) -6. Add a tag in git to mark the release: "git tag v -m 'Adds tag v for pypi' " +6. Add a tag in git to mark the release: "git tag v -m 'Adds tag v for pypi' " Push the tag to git: git push --tags origin v-release 7. Build both the sources and the wheel. Do not change anything in setup.py between @@ -189,7 +189,7 @@ extras["sagemaker"] = [ setup( name="diffusers", - version="0.0.1", + version="0.0.2", description="Diffusers", long_description=open("README.md", "r", encoding="utf-8").read(), long_description_content_type="text/markdown", @@ -222,8 +222,8 @@ setup( # Release checklist # 1. Change the version in __init__.py and setup.py. -# 2. Commit these changes with the message: "Release: VERSION" -# 3. Add a tag in git to mark the release: "git tag VERSION -m 'Adds tag VERSION for pypi' " +# 2. Commit these changes with the message: "Release: Release" +# 3. Add a tag in git to mark the release: "git tag RELEASE -m 'Adds tag RELEASE for pypi' " # Push the tag to git: git push --tags origin main # 4. Run the following commands in the top-level directory: # python setup.py bdist_wheel