test(flatpak): pin app-v1.43.0 commit for CI validation

Hardcode the upstream URL, tag, and commit in the manifest so the
build-flatpak CI job can run against the existing app-v1.43.0 release
without needing dynamic patching. Last.fm key injection still applies.

This branch is for CI smoke-testing only; flatpak-release has the
production-ready dynamic patching.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
kilyabin
2026-04-29 02:10:28 +04:00
parent 97d99b8c5e
commit 5d6b069e07
2 changed files with 1 additions and 10 deletions
@@ -311,17 +311,8 @@ jobs:
-o packages/flatpak/npm-sources.json
- name: patch manifest for this release
env:
RELEASE_TAG: ${{ needs.create-release.outputs.release_tag }}
run: |
git config --global --add safe.directory /__w/psysonic/psysonic
COMMIT=$(git ls-remote origin "refs/tags/${RELEASE_TAG}^{}" | awk '{print $1}')
if [ -z "$COMMIT" ]; then
COMMIT=$(git ls-remote origin "refs/tags/${RELEASE_TAG}" | awk '{print $1}')
fi
sed -i \
-e "s|tag: app-v.*|tag: ${RELEASE_TAG}|" \
-e "s|commit: PLACEHOLDER_COMMIT|commit: ${COMMIT}|" \
-e "s|VITE_LASTFM_API_KEY=__LASTFM_KEY__|VITE_LASTFM_API_KEY=${{ secrets.VITE_LASTFM_API_KEY }}|" \
-e "s|VITE_LASTFM_API_SECRET=__LASTFM_SECRET__|VITE_LASTFM_API_SECRET=${{ secrets.VITE_LASTFM_API_SECRET }}|" \
packages/flatpak/dev.psysonic.Psysonic.yml