File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 1616 - name : Check out repository
1717 uses : actions/checkout@v4
1818
19+ - name : Extract version from CITATION.cff
20+ run : |
21+ VERSION=$(
22+ grep '^version:' CITATION.cff
23+ | sed 's/version: *//'
24+ | tr -d '"'
25+ | tr -d "'"
26+ )
27+
28+ echo "PACKAGE_VERSION=$VERSION" >> $GITHUB_ENV
29+ shell : bash
30+
1931 - name : Build Flatpak
2032 uses : flatpak/flatpak-github-actions/flatpak-builder@v6
2133 with :
22- bundle : logopak. flatpak
34+ bundle : " logopak-${{ env.PACKAGE_VERSION }}. flatpak"
2335 manifest-path : flatpak/com.danielvartan.logopak.yaml
2436 cache-key : flatpak-builder-${{ github.sha }}
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ An easier way to distribute the application is by creating a Flatpak bundle. For
109109``` bash
110110cd flatpak
111111flatpak-builder --repo=repo --force-clean build-dir com.danielvartan.logopak.yaml
112- flatpak build-bundle repo logopak.flatpak com.danielvartan.logopak
112+ flatpak build-bundle repo ../ logopak.flatpak com.danielvartan.logopak
113113```
114114
115115After creating the ` logopak.flatpak ` bundle, you can share it with others. Anyone can install it with:
You can’t perform that action at this time.
0 commit comments