Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
use official `gh` client instead of `github-release` to execute releases
zadam7b5d44a32999
diff --git a/.idea/vcs.xml b/.idea/vcs.xmlindex 8fe5bdbdc5..dcb6b8c4cc 100644--- a/.idea/vcs.xml+++ b/.idea/vcs.xml@@ -2,6 +2,5 @@<project version="4"><component name="VcsDirectoryMappings"><mapping directory="" vcs="Git" />- <mapping directory="$PROJECT_DIR$/../.." vcs="Git" /></component>-</project>\ No newline at end of file+</project>diff --git a/bin/release.sh b/bin/release.shindex 80a53f771a..78237077cd 100755--- a/bin/release.sh+++ b/bin/release.sh@@ -55,47 +55,20 @@ echo "Creating release in GitHub"EXTRA=if [[ $TAG == *"beta"* ]]; then- EXTRA=--pre-release+ EXTRA=--prereleasefi-github-release release \- --tag $TAG \- --name "$TAG release" $EXTRA+echo "$GITHUB_CLI_AUTH_TOKEN" | gh auth login --with-token-echo "Uploading debian x64 package"--github-release upload \- --tag $TAG \- --name "$DEBIAN_X64_BUILD" \- --file "dist/$DEBIAN_X64_BUILD"--echo "Uploading linux x64 build"--github-release upload \- --tag $TAG \- --name "$LINUX_X64_BUILD" \- --file "dist/$LINUX_X64_BUILD"--echo "Uploading windows x64 build"--github-release upload \- --tag $TAG \- --name "$WINDOWS_X64_BUILD" \- --file "dist/$WINDOWS_X64_BUILD"--echo "Uploading mac x64 build"--github-release upload \- --tag $TAG \- --name "$MAC_X64_BUILD" \- --file "dist/$MAC_X64_BUILD"--echo "Uploading linux x64 server build"--github-release upload \- --tag $TAG \- --name "$SERVER_BUILD" \- --file "dist/$SERVER_BUILD"+gh release create "$TAG" \+ --title "$TAG release" \+ --notes ""+ $EXTRA \+ "dist/$DEBIAN_X64_BUILD" \+ "dist/$LINUX_X64_BUILD" \+ "dist/$WINDOWS_X64_BUILD" \+ "dist/$MAC_X64_BUILD" \+ "dist/$SERVER_BUILD"echo "Building docker image"@@ -105,4 +78,4 @@ echo "Pushing docker image to dockerhub"bin/push-docker-image.sh $VERSION-echo "Release finished!"\ No newline at end of file+echo "Release finished!"diff --git a/src/public/app/widgets/search_actions/delete_note.js b/src/public/app/widgets/search_actions/delete_note.jsindex 9de251a4d9..9e996dd4d8 100644--- a/src/public/app/widgets/search_actions/delete_note.js+++ b/src/public/app/widgets/search_actions/delete_note.js@@ -5,7 +5,7 @@ const TPL = `<td colspan="2"><span class="bx bx-trash"></span>- Delete matched note+ Delete matched notes</td><td class="button-column"><span class="bx bx-x icon-action action-conf-del"></span>