Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
2665677b
Commit
2665677b
authored
Jun 08, 2022
by
Patrick von Platen
Browse files
Merge branch 'main' of
https://github.com/huggingface/diffusers
into main
parents
ae81c3d6
5a784f98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
setup.py
setup.py
+5
-5
No files found.
setup.py
View file @
2665677b
...
...
@@ -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>-release, for example v4.19-release), and commit these changes with the
message: "Release: <
VERSION
>" and push.
message: "Release: <
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<
VERSION
> -m 'Adds tag v<
VERSION
> for pypi' "
6. Add a tag in git to mark the release: "git tag v<
RELEASE
> -m 'Adds tag v<
RELEASE
> for pypi' "
Push the tag to git: git push --tags origin v<RELEASE>-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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment