We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca78f33 commit 8ee561bCopy full SHA for 8ee561b
.github/workflows/release-drafter.yml
@@ -9,10 +9,19 @@ jobs:
9
update_release_draft:
10
runs-on: ubuntu-latest
11
steps:
12
+ - uses: actions/checkout@v3
13
+ - name: Set up Python
14
+ uses: actions/setup-python@v4
15
+ with:
16
+ python-version: 3.10
17
+ - name: Install Poetry
18
+ run: curl -sSL https://install.python-poetry.org | python
19
+ - name: Get version from pyproject.toml
20
+ run: echo "VERSION=$(poetry version -s)" >> $GITHUB_ENV
21
- uses: release-drafter/release-drafter@v5
22
with:
- name: next
- tag: next
- version: next
23
+ name: ${{ env.VERSION }}
24
+ tag: ${{ env.VERSION }}
25
+ version: ${{ env.VERSION }}
26
env:
27
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments