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
flatpak release script fixes
zadam7233f5876753
diff --git a/bin/release-flatpack.sh b/bin/release-flatpack.shindex 9b741cb2fa..f9fcf43f0d 100755--- a/bin/release-flatpack.sh+++ b/bin/release-flatpack.sh@@ -13,6 +13,9 @@ thenexit 1fi+VERSION_DATE=$(git log -1 --format=%aI "v${VERSION}" | cut -c -10)+VERSION_COMMIT=$(git rev-list -n 1 "v${VERSION}")+# expecting the directory at a specific pathcd ~/trilium-flathub@@ -21,7 +24,7 @@ if ! git diff-index --quiet HEAD --; thenexit 1fi-if [[ $VERSION == *"beta"* ]]; then+if [[ "$VERSION" == *"beta"* ]]; thengit switch betaelsegit switch master@@ -29,9 +32,6 @@ figit pull-VERSION_DATE=$(git log -1 --format=%aI v${VERSION} | cut -c -10)-VERSION_COMMIT=$(git rev-list -n 1 v${VERSION})-echo "Updating files with version ${VERSION}, date ${VERSION_DATE} and commit ${VERSION_COMMIT}"flatpak-node-generator npm ../trilium/package-lock.json