plz
This commit is contained in:
parent
749bb75513
commit
592ca57d49
1 changed files with 6 additions and 7 deletions
13
.github/workflows/release.yaml
vendored
13
.github/workflows/release.yaml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue