mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 07:42:08 -04:00
Update windows paths for new certbot location
This commit is contained in:
parent
5d90544c82
commit
49044c9a3a
2 changed files with 3 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ jobs:
|
|||
vmImage: vs2017-win2016
|
||||
steps:
|
||||
- bash: |
|
||||
CERTBOT_VERSION="$(python -c "import certbot; print(certbot.__version__)")"
|
||||
CERTBOT_VERSION="$(cd certbot && python -c "import certbot; print(certbot.__version__)" && cd ~-)"
|
||||
"${BUILD_REPOSITORY_LOCALPATH}\tools\extract_changelog.py" "${CERTBOT_VERSION}" >> "${BUILD_ARTIFACTSTAGINGDIRECTORY}/release_notes.md"
|
||||
displayName: Prepare changelog
|
||||
- task: PublishPipelineArtifact@1
|
||||
|
|
|
|||
|
|
@ -119,8 +119,9 @@ imp.load_dynamic('pythoncom', pcom)
|
|||
|
||||
installer_cfg_path = os.path.join(build_path, 'installer.cfg')
|
||||
|
||||
certbot_pkg_path = os.path.join(repo_path, 'certbot')
|
||||
certbot_version = subprocess.check_output([sys.executable, '-c', 'import certbot; print(certbot.__version__)'],
|
||||
universal_newlines=True, cwd=repo_path).strip()
|
||||
universal_newlines=True, cwd=certbot_pkg_path).strip()
|
||||
|
||||
with open(installer_cfg_path, 'w') as file_h:
|
||||
file_h.write('''\
|
||||
|
|
|
|||
Loading…
Reference in a new issue