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
ci(flatpak): pass the dispatched ref to the updater as well
Elian Doran537953760b97
diff --git a/.github/workflows/release-flathub.yml b/.github/workflows/release-flathub.ymlindex 922807767c..183cc8002b 100644--- a/.github/workflows/release-flathub.yml+++ b/.github/workflows/release-flathub.yml@@ -16,7 +16,7 @@ jobs:steps:- uses: actions/checkout@v7with:- ref: ${{ inputs.ref || github.ref }}+ ref: ${{ inputs.ref || github.ref_name }}# update-repo.mts resolves the ref against the checkout, so tags must be present.fetch-depth: 0@@ -39,9 +39,9 @@ jobs:- name: Update the manifest and packaging filesid: update- run: node --experimental-strip-types scripts/flatpak/update-repo.mts flathub ${INPUT_REF:+"$INPUT_REF"}+ run: node --experimental-strip-types scripts/flatpak/update-repo.mts flathub "$INPUT_REF"env:- INPUT_REF: ${{ inputs.ref }}+ INPUT_REF: ${{ inputs.ref || github.ref_name }}- name: Generate the offline install sourcesrun: node --experimental-strip-types scripts/flatpak/generate-sources.mts flathub