Skip to content

Commit f22820e

Browse files
authored
Merge pull request #535 from ExperienceLovelace/feat/workflows_fix_release_logics
Update logics around releases
2 parents 2389c2b + 3e32898 commit f22820e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/release.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release
1+
name: Draft Release with Notes and Build Artifacts
22
on:
33
push:
44
tags:
@@ -17,6 +17,8 @@ jobs:
1717
uses: softprops/action-gh-release@v2
1818
if: startsWith(github.ref, 'refs/tags/')
1919
with:
20-
draft: true
21-
generate_release_notes: true
22-
files: dist/*.js
20+
draft: true
21+
prerelease: ${{ contains(github.ref, '-') }}
22+
generate_release_notes: true
23+
append_body: true
24+
files: dist/*.js

0 commit comments

Comments
 (0)