From 2cd5fb760a9b2c79ee14d5767f3ec1beb05615b4 Mon Sep 17 00:00:00 2001 From: Zebedee Nicholls Date: Wed, 21 Aug 2024 11:30:04 +0200 Subject: [PATCH] Fix missing open mode --- .github/workflows/install-pypi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/install-pypi.yaml b/.github/workflows/install-pypi.yaml index 2557180..b3cfd16 100644 --- a/.github/workflows/install-pypi.yaml +++ b/.github/workflows/install-pypi.yaml @@ -50,7 +50,7 @@ jobs: - name: Get version windows if: matrix.os == 'windows-latest' run: | - python -c 'import openscm_zenodo; f = open("version.txt"); f.write(f"v{openscm_zenodo.__version__}"); f.close()' + python -c 'import openscm_zenodo; f = open("version.txt", "w"); f.write(f"v{openscm_zenodo.__version__}"); f.close()' type version.txt set /p INSTALLED_VERSION=