Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the release checklist #1075

Merged

Conversation

BenjaminBossan
Copy link
Member

As discussed, we wanted to make small amendments to the release process, so that we have a 0.N.0 commit on main. I also adjusted the wording here and there.

There were some open questions, which I have marked with a FIXME. Please let me know how to proceed with those.

Note: For me, the GitHub diff view is not correct, so please check the changes carefully.

As discussed, we wanted to make small amendments to the release process,
so that we have a 0.N.0 commit on main. I also adjusted the wording here
and there.

There were some open questions, which I have marked with a FIXME. Please
let me know how to proceed with those.
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Nov 3, 2023

The documentation is not available anymore as the PR was closed or merged.

@BenjaminBossan BenjaminBossan marked this pull request as draft November 3, 2023 10:25
Copy link
Contributor

@pacman100 pacman100 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @BenjaminBossan for updating the release checklist! Have replied to the FIXME parts. Good to merge once those are addressed

setup.py Outdated
# Push the tag to git:
# git push --tags origin main
# It is necessary to work on the original repository, not on a fork.
# FIXME should we create an annotated tag: git tag -a ...
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, let's use annotated tag as it is more informative and better for public releases

setup.py Outdated
# git push --tags origin main
# It is necessary to work on the original repository, not on a fork.
# FIXME should we create an annotated tag: git tag -a ...
# FIXME we can also skip this and let GH release create the tag for us
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's explicitly have the tag step before release.

setup.py Outdated
# twine upload dist/* -r pypitest
# twine upload dist/* -r pypitest --repository-url=https://test.pypi.org/legacy/
# 6. Check that you can install it in a virtualenv by running:
# FIXME are both commands needed? I think not
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think the second one isn't required

@BenjaminBossan BenjaminBossan marked this pull request as ready for review November 6, 2023 16:38
@BenjaminBossan
Copy link
Member Author

@pacman100 I updated the PR according to your comments, please check again.

Copy link
Contributor

@younesbelkada younesbelkada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@BenjaminBossan BenjaminBossan merged commit 4c48970 into huggingface:main Nov 7, 2023
11 checks passed
@BenjaminBossan BenjaminBossan deleted the update-release-checklist branch November 7, 2023 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants