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 88fa998 commit 443d802Copy full SHA for 443d802
.github/workflows/draft-release.yml
@@ -0,0 +1,34 @@
1
+name: Draft Release
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+jobs:
7
+ build:
8
+ name: Draft Release
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout code
12
+ uses: actions/checkout@v4
13
14
+ - name: Install poetry
15
+ run: pipx install poetry
16
17
+ - name: Set up Python
18
+ uses: actions/setup-python@v5
19
+ with:
20
+ python-version: "3.10"
21
+ cache: "poetry"
22
+ cache-dependency-path: poetry.lock
23
24
+ - name: Build project
25
+ run: |
26
+ poetry build
27
+ echo "version=$(poetry version --short)" >> "$GITHUB_ENV"
28
29
+ - name: Release
30
+ uses: softprops/action-gh-release@v2
31
32
+ files: dist/*
33
+ tag_name: ${{ env.version }}
34
+ draft: true
0 commit comments