Skip to content

Commit f2454e8

Browse files
committed
ci: Avoid template expression in Bash script for assembling release notes.
1 parent 197c6ad commit f2454e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,9 @@ jobs:
158158
run: pip install .
159159
- name: Compile Release Notes Draft
160160
if: ${{ !contains(github.ref, 'refs/tags/') }}
161-
run: towncrier build --draft --version "${{ needs.lint.outputs.version }}" > release-notes.rst
161+
run: towncrier build --draft --version "${version}" > release-notes.rst
162+
env:
163+
version: ${{ needs.lint.outputs.version }}
162164
- name: Extract release notes from Git tag
163165
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
164166
run: |

0 commit comments

Comments
 (0)