diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5e999686..792b7491 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -62,7 +62,7 @@ jobs: - uses: actions/checkout@v3 - name: Write version to init file run: | - echo "${{needs.version.outputs.init_contents}}" > src/ytdl_sub/__init__.py + echo '${{ needs.version.outputs.init_contents }}' > src/ytdl_sub/__init__.py - uses: actions/setup-python@v4 with: python-version: '3.10' @@ -89,7 +89,7 @@ jobs: - uses: actions/checkout@v3 - name: Write version to init file run: | - echo "${{needs.version.outputs.init_contents}}" > src/ytdl_sub/__init__.py + echo '${{ needs.version.outputs.init_contents }}' > src/ytdl_sub/__init__.py - uses: uraimo/run-on-arch-action@v2 name: Run commands id: runcmd @@ -127,15 +127,14 @@ jobs: - uses: actions/checkout@v3 - name: Write version to init file run: | - echo "${{needs.version.outputs.init_contents}}" > src/ytdl_sub/__init__.py - + echo '${{ needs.version.outputs.init_contents }}' > src/ytdl_sub/__init__.py - name: Create Release if: ${{ github.ref == 'refs/heads/master' }} id: create_release uses: softprops/action-gh-release@v1 with: - name: ytdl-sub ${{ env.PYPI_VERSION }} - tag_name: ${{ env.PYPI_VERSION }} + name: ytdl-sub ${{ needs.version.outputs.pypi_version }} + tag_name: ${{ needs.version.outputs.pypi_version }} body: | See https://github.com/jmbannon/ytdl-sub#installation for installation steps draft: false @@ -157,7 +156,7 @@ jobs: ref: master - name: Write version to init file run: | - echo "${{needs.version.outputs.init_contents}}" > src/ytdl_sub/__init__.py + echo '${{ needs.version.outputs.init_contents }}' > src/ytdl_sub/__init__.py - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v3 with: