Skip to content

Commit e1b6f22

Browse files
committed
ci: fix the replacement URLs; bump version (post).
1 parent 48ecb26 commit e1b6f22

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ build-backend = "flit_core.buildapi"
88

99
[project]
1010
name = "ydayer-test-pypi"
11-
version = "1.0.0"
11+
version = "1.0.0-post1"
1212
license = {file = "LICENSES/MIT.txt"}
1313
authors = [
1414
{ name = "Yannick Dayer", email = "[email protected]" },

0 commit comments

Comments
 (0)