-
Notifications
You must be signed in to change notification settings - Fork 24.4k
tools: add ability to grab git tag #77279
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
Conversation
🔗 Helpful links
❌ 1 New FailuresAs of commit 8ac552c (more details on the Dr. CI page): Expand to see more
🕵️ 1 new failure recognized by patternsThe following CI failures do not appear to be due to upstream breakages
|
a79eeea
to
a4ab288
Compare
Adds the ability to grab the git tag when using `generate_torch_version.py` so that users who build from source on a specific tag will get the version that they expect. Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
a4ab288
to
8ac552c
Compare
@pytorchbot merge this |
Hey @seemethere. |
Summary: Adds the ability to grab the git tag when using `generate_torch_version.py` so that users who build from source on a specific tag will get the version that they expect. Behavior is now this: 1. Check if git tag is available on current commit 2. If tag available use tagged version, do not attempt to grab other versions 3. If tag is not available, use previous workflow for determining version Signed-off-by: Eli Uriegas <eliuriegas@fb.com> Fixes #77052 Pull Request resolved: #77279 Approved by: https://github.com/ezyang Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/ba5529650461b869dd0ee5d953a5ce98fb68d847 Reviewed By: atalman Differential Revision: D36353683 fbshipit-source-id: be59cccdb72b991b7d741eb453d151957700f62a
@pytorchbot revert -m "Broke ciflow related builds, see https://github.com/pytorch/pytorch/runs/6423279105?check_suite_focus=true" |
Revert unsuccessful: please retry the command and provide a classification, e.g. @pytorchbot revert -m="this breaks mac tests on trunk" -c="ghfirst". |
@pytorchbot revert -m "Broke ciflow related builds, see pytorch/pytorch/runs/6423279105?check_suite_focus=true" -c "ghfirst" |
Reverting PR 77279 failed due to Comment @pytorchbot revert -m "Broke ciflow related builds, see pytorch/pytorch/runs/6423279105?check_suite_focus=true" -c "ghfirst" does not seem to be a valid revert command |
@pytorchbot revert this, Broke ciflow related builds see https://github.com/pytorch/pytorch/runs/6423279105?check_suite_focus=true |
This reverts commit ba55296. Reverted #77279 on behalf of https://github.com/seemethere
Adds the ability to grab the git tag when using
generate_torch_version.py
so that users who build from source on aspecific tag will get the version that they expect.
Behavior is now this:
Signed-off-by: Eli Uriegas eliuriegas@fb.com
Fixes #77052