Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonzlin committed Dec 23, 2023
1 parent 5f004d2 commit f3d9b28
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ jobs:
run: |
# Maturin uses Cargo.toml name for Python name: https://www.maturin.rs/#usage.
# We edit it here instead of just updating our repo code as Cargo workspace names must be different.
sed -i.bak 's%^name = ".*$%name = "minify-html${{ matrix.variant }}"%' ./minify-html${{ matrix.variant }}-python/Cargo.toml
newName=minify-html-${{ matrix.variant }}
newName=${newName//-/_}
sed -i.bak 's%^name = ".*$%name = "'$newName'"%' ./minify-html${{ matrix.variant }}-python/Cargo.toml
rm ./minify-html${{ matrix.variant }}-python/Cargo.toml.bak
- name: Build wheels
Expand Down

0 comments on commit f3d9b28

Please sign in to comment.