diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6e1d63ab..01b528a6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,7 +7,7 @@ on: pull_request: jobs: set-version: - name: github-release + name: set-version runs-on: ubuntu-latest steps: @@ -51,7 +51,7 @@ jobs: - uses: actions/checkout@v3 - name: Write version to init file run: | - echo "__pypi_version__ = \\"${{ env.PYPI_VERSION }}\\"\\n__local_version__ = \\"${{ env.LOCAL_VERSION }}\\"" > src/ytdl_sub/__init__.py + echo '__pypi_version__ = "${{ env.PYPI_VERSION }}"\n__local_version__ = "${{ env.LOCAL_VERSION }}"' > src/ytdl_sub/__init__.py - uses: actions/setup-python@v4 with: python-version: '3.10'