Skip to content

Commit e4db2e5

Browse files
committed
fix: image not shown on pypi
1 parent 2c460d2 commit e4db2e5

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/python-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
run: |
2323
python3 -m pip install poetry
2424
poetry install --only main
25+
- name: Prepair publish
26+
run: make prepair-publish
2527
- name: Build package
2628
run: make build
2729
- name: Publish package

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ docs:
2525
package: clean docs
2626
poetry build
2727

28+
prepair-publish:
29+
sed -i "s/screw_step.png/https:\/\/raw.githubusercontent.com\/TheTesla\/stl2step\/refs\/tags\/$(version)\/screw_step.png/g" README.md
30+
2831
publish:
2932
poetry publish
3033

0 commit comments

Comments
 (0)