Skip to content

Commit 3d7b4a8

Browse files
authoredJan 16, 2025··
Update release.yaml
1 parent a874cfd commit 3d7b4a8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed
 

‎.github/workflows/release.yaml

+5-4
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,14 @@ jobs:
3737
name: dist-files
3838
path: dist/
3939

40-
# Create a new GitHub release and upload the dist files
41-
- name: Create Release
40+
# Step 6: Create Draft Release
41+
- name: Create Draft Release
4242
uses: ncipollo/release-action@v1
4343
with:
4444
artifacts: dist/*
4545
token: ${{ secrets.GITHUB_TOKEN }}
46-
tag: r${{ github.run_number }}
47-
name: Release ${{ github.run_number }}
46+
tag: v${{ env.version }}
47+
name: Release v${{ env.version }}
4848
body: |
4949
Automatically generated release for commit: ${{ github.sha }}
50+
draft: true

0 commit comments

Comments
 (0)
Please sign in to comment.