mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
scripts: Fix manylinux2014 promotion to pypi (#70003)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/70003 Signed-off-by: Eli Uriegas <eliuriegas@fb.com> Test Plan: Imported from OSS Reviewed By: jbschlosser, janeyx99 Differential Revision: D33143730 Pulled By: seemethere fbshipit-source-id: 83a46047fbfe4709e841fbfcaa75e434ff325be5
This commit is contained in:
parent
38cfacd817
commit
b28a4100ff
|
|
@ -40,7 +40,11 @@ if [[ $DRY_RUN = "disabled" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for pkg in ${pkgs_to_promote}; do
|
for pkg in ${pkgs_to_promote}; do
|
||||||
pkg_basename="$(basename "${pkg//linux/manylinux1}")"
|
pkg_basename="$(basename "${pkg}")"
|
||||||
|
# Don't attempt to change if manylinux2014
|
||||||
|
if [[ "${pkg}" != *manylinux2014* ]]; then
|
||||||
|
pkg_basename="$(basename "${pkg//linux/manylinux1}")"
|
||||||
|
fi
|
||||||
orig_pkg="${tmp_dir}/${pkg_basename}"
|
orig_pkg="${tmp_dir}/${pkg_basename}"
|
||||||
(
|
(
|
||||||
set -x
|
set -x
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user