Skip to content

Build your personal knowledge base with Trilium Notes

feat(release): support prereleases with -rc format

Elian Doranddb9281203c2
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 5ec07b13fe..9b3d7ab43f 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -108,7 +108,7 @@ jobs:
pattern: release-*
path: upload
- - name: Publish release
+ - name: Publish stable release
uses: softprops/action-gh-release@v2
with:
draft: false
@@ -116,3 +116,5 @@ jobs:
fail_on_unmatched_files: true
files: upload/*.*
discussion_category_name: Announcements
+ make_latest: ${{ !contains(github.ref, 'rc') }}
+ prerelease: ${{ !contains(github.ref, 'rc') }}