diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ba70275..e0f7a89 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -43,16 +43,16 @@ stages: inputs: targetType: 'inline' script: | - # The README.md gets published and is what folks see on the PyPi/project/pysafeguard so the relative paths + # The README.md gets published to PyPi/project/pysafeguard so the relative paths, which work while on GitHub, # must be updated to absolute paths. $file = "README.md" - (Get-Content $file).replace('sample projects', "[sample projects](https://github.com/OneIdentity/PySafeguard/tree/release/$Env:BUILD_SOURCEBRANCHNAME/samples)") | Set-Content $file - (Get-Content $file).replace('here', "[here](https://github.com/OneIdentity/PySafeguard/tree/release/$Env:BUILD_SOURCEBRANCHNAME/samples/PasswordExternalExample.py)") | Set-Content $file - (Get-Content $file).replace('here', "[here](https://github.com/OneIdentity/PySafeguard/tree/release/$Env:BUILD_SOURCEBRANCHNAME/samples/PasswordExample.py)") | Set-Content $file - (Get-Content $file).replace('here', "[here](https://github.com/OneIdentity/PySafeguard/tree/release/$Env:BUILD_SOURCEBRANCHNAME/samples/AnonymousExample.py)") | Set-Content $file - (Get-Content $file).replace('here', "[here](https://github.com/OneIdentity/PySafeguard/tree/release/$Env:BUILD_SOURCEBRANCHNAME/samples/SignalRExample.py)") | Set-Content $file - (Get-Content $file).replace('here', "[here](https://github.com/OneIdentity/PySafeguard/tree/release/$Env:BUILD_SOURCEBRANCHNAME/samples/NewUserExample.py)") | Set-Content $file + (Get-Content $file).replace('sample projects', "sample projects") | Set-Content $file + (Get-Content $file).replace('here', "here") | Set-Content $file + (Get-Content $file).replace('here', "here") | Set-Content $file + (Get-Content $file).replace('here', "here") | Set-Content $file + (Get-Content $file).replace('here', "here") | Set-Content $file + (Get-Content $file).replace('here', "here") | Set-Content $file failOnStderr: true - script: |