Skip to content

Commit bcf0766

Browse files
Merge pull request flameshot-org#4499 from flameshot-org/flatpak_ci
2 parents 6b0427b + 8874238 commit bcf0766

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/Linux-pack.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,14 @@ jobs:
408408
echo "VER_INFO=${ver_info}" >> $GITHUB_ENV
409409
echo "GIT_HASH=${git_hash}" >> $GITHUB_ENV
410410
411+
- name: Update flatpak manifest with commit SHA
412+
run: |
413+
git_hash=$(git rev-parse HEAD)
414+
sed -i "s/branch: master/commit: ${git_hash}/" packaging/flatpak/org.flameshot.Flameshot.yml
415+
echo "=======FLATPAK MANIFEST========"
416+
cat packaging/flatpak/org.flameshot.Flameshot.yml
417+
echo "==============================="
418+
411419
- name: Setup flatpak
412420
run: |
413421
sudo apt-get -y -qq update

0 commit comments

Comments
 (0)