|
28 | 28 | 3. Unpin specific versions from setup.py that use a git install. |
29 | 29 |
|
30 | 30 | 4. Checkout the release branch (v<RELEASE>-release, for example v4.19-release), and commit these changes with the |
31 | | - message: "Release: <VERSION>" and push. |
| 31 | + message: "Release: <RELEASE>" and push. |
32 | 32 |
|
33 | 33 | 5. Wait for the tests on main to be completed and be green (otherwise revert and fix bugs) |
34 | 34 |
|
35 | | -6. Add a tag in git to mark the release: "git tag v<VERSION> -m 'Adds tag v<VERSION> for pypi' " |
| 35 | +6. Add a tag in git to mark the release: "git tag v<RELEASE> -m 'Adds tag v<RELEASE> for pypi' " |
36 | 36 | Push the tag to git: git push --tags origin v<RELEASE>-release |
37 | 37 |
|
38 | 38 | 7. Build both the sources and the wheel. Do not change anything in setup.py between |
@@ -189,7 +189,7 @@ def run(self): |
189 | 189 |
|
190 | 190 | setup( |
191 | 191 | name="diffusers", |
192 | | - version="0.0.1", |
| 192 | + version="0.0.2", |
193 | 193 | description="Diffusers", |
194 | 194 | long_description=open("README.md", "r", encoding="utf-8").read(), |
195 | 195 | long_description_content_type="text/markdown", |
@@ -222,8 +222,8 @@ def run(self): |
222 | 222 |
|
223 | 223 | # Release checklist |
224 | 224 | # 1. Change the version in __init__.py and setup.py. |
225 | | -# 2. Commit these changes with the message: "Release: VERSION" |
226 | | -# 3. Add a tag in git to mark the release: "git tag VERSION -m 'Adds tag VERSION for pypi' " |
| 225 | +# 2. Commit these changes with the message: "Release: Release" |
| 226 | +# 3. Add a tag in git to mark the release: "git tag RELEASE -m 'Adds tag RELEASE for pypi' " |
227 | 227 | # Push the tag to git: git push --tags origin main |
228 | 228 | # 4. Run the following commands in the top-level directory: |
229 | 229 | # python setup.py bdist_wheel |
|
0 commit comments