Skip to content

Commit ccb6ce3

Browse files
Merge pull request #4 from Cosmo-Tech/change_relative_urls_in_README_used_for_pypi
Update README links and clean outdated notes in PyPI publish workflow
2 parents 0dc8c51 + 800670c commit ccb6ce3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/publish-to-pypi.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
echo Changing version in setup.py to ${{ steps.get_version.outputs.VERSION }}
2222
sed -i 's/VERSION = ".*"/VERSION = "${{ steps.get_version.outputs.VERSION }}"/g' setup.py
2323
sed -i 's/version = ".*"/version = "${{ steps.get_version.outputs.VERSION }}"/g' pyproject.toml
24+
sed -i 's#docs/#https://github.com/Cosmo-Tech/cosmotech-api-python-client/tree/${{ steps.get_version.outputs.VERSION }}/docs/#g' README.md
25+
sed -i '/All URIs are relative/d' README.md
2426
- name: Set up Python 3.10
2527
uses: actions/setup-python@v1
2628
with:

0 commit comments

Comments
 (0)