File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2828 pip install build
2929 - name : Patch the README links to point to the correct files at the current tag
3030 run : |
31- perl -i.bak -pe 's/\[(.*)\]\((?!http)(\.\/)?(.*)\.([a-z]+)\)/[\1](https:\/\/raw.github.com\/${{ github.repository_owner }}\/${{ github.repository }}\/${{ github.event.release.tag_name }}\/\3.\4)/g' README.md
32- perl -i.bak -pe 's/\[(.*)\]\((?!http)(\.\/)?(.*)\)/[\1](https:\/\/github.com\/${{ github.repository_owner }}\/${{ github.repository }}\/tree\/${{ github.event.release.tag_name }}\/\3)/g' README.md
31+ perl -i.bak -pe 's/\[(.*)\]\((?!http)(\.\/)?(.*)\.([a-z]+)\)/[\1](https:\/\/raw.github.com\/${{ github.event.repository.owner }}\/${{ github.event. repository.name }}\/${{ github.event.release.tag_name }}\/\3.\4)/g' README.md
32+ perl -i.bak -pe 's/\[(.*)\]\((?!http)(\.\/)?(.*)\)/[\1](https:\/\/github.com\/${{ github.event.repository.owner }}\/${{ github.event. repository.name }}\/tree\/${{ github.event.release.tag_name }}\/\3)/g' README.md
3333 rm README.md.bak
3434 - name : Package the project
3535 run : python -m build
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ build-backend = "flit_core.buildapi"
88
99[project ]
1010name = " ydayer-test-pypi"
11- version = " 1.0.0"
11+ version = " 1.0.0-post1 "
1212license = {file = " LICENSES/MIT.txt" }
1313authors = [
1414 {
name =
" Yannick Dayer" ,
email =
" [email protected] " },
You can’t perform that action at this time.
0 commit comments