Skip to content

Commit

Permalink
name fix!
Browse files Browse the repository at this point in the history
  • Loading branch information
kzheng-bdai committed Mar 13, 2024
1 parent 80c1308 commit dcd26a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/pomdp_py_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ find_pxd_files_and_write_manifest ./ MANIFEST.in
version=$(extract_package_version "$pomdp_py_path/pyproject.toml")
attempt_count=""
if [ $# -gt 0 ]; then
attempt_count="-$1-"
attempt_count="-$1"
fi
echo $version
if ! is_git_repo_on_branch $pomdp_py_path dev-$version; then
Expand Down Expand Up @@ -114,7 +114,7 @@ command="auditwheel repair io/dist/${wheel_name} -w /io/wheelhouse/"
docker run --user $(id -u):$(id -g) --mount type=bind,source=${pomdp_py_path},target=/io $manylinux_image bash -c "$command"
rm $pomdp_py_path/dist/$wheel_name
fixed_wheel_name="pomdp_py-${version}-${cpv}-${cpv}-manylinux_2_17_x86_64.$linux_dist.whl"
fixed_wheel_name_with_attempt="pomdp_py-${version}${attempt_count}${cpv}-${cpv}-manylinux_2_17_x86_64.$linux_dist.whl"
fixed_wheel_name_with_attempt="pomdp_py-${version}${attempt_count}-${cpv}-${cpv}-manylinux_2_17_x86_64.$linux_dist.whl"
mv "$pomdp_py_path/wheelhouse/$fixed_wheel_name" "$pomdp_py_path/dist/$fixed_wheel_name_with_attempt"
rm -r $pomdp_py_path/wheelhouse

Expand Down

0 comments on commit dcd26a4

Please sign in to comment.