Skip to content

Commit

Permalink
update wheel name (#7722)
Browse files Browse the repository at this point in the history
  • Loading branch information
zpcore committed Aug 14, 2024
1 parent f0bbaeb commit c6ba0e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infra/ansible/roles/build_srcs/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@
ansible.builtin.shell: |
pushd /tmp/staging-wheels
cp {{ item.dir }}/*.whl .
rename -v "s/^{{ item.prefix }}-(.*?)-cp/{{ item.prefix }}-nightly-cp/" *.whl
rename -v "s/^{{ item.prefix }}-(.*?)-cp/{{ item.prefix }}-\1+nightly-cp/" *.whl
mv /tmp/staging-wheels/* /dist/
popd
rename -v "s/^{{ item.prefix }}-(.*?)-cp/{{ item.prefix }}-nightly+$(date -u +%Y%m%d)-cp/" *.whl
rename -v "s/^{{ item.prefix }}-(.*?)-cp/{{ item.prefix }}-\1+nightly$(date -u +%Y%m%d)-cp/" *.whl
args:
executable: /bin/bash
chdir: "{{ item.dir }}"
Expand Down

0 comments on commit c6ba0e9

Please sign in to comment.