ci(flatpak): hardcode flutter version

ts garbage
This commit is contained in:
edde746
2025-11-04 19:56:14 +01:00
parent 3b8c944512
commit 3f95b4d822
2 changed files with 10 additions and 5 deletions
+9 -4
View File
@@ -392,8 +392,6 @@ jobs:
run: |
# Extract version from pubspec.yaml (e.g., "1.3.1+10" -> "1.3.1")
VERSION=$(grep '^version:' pubspec.yaml | sed 's/version: //' | sed 's/+.*//' | tr -d ' ')
# Extract Flutter SDK version from pubspec.yaml (e.g., "^3.8.1" -> "3.8.1")
FLUTTER_VERSION=$(grep -A1 '^environment:' pubspec.yaml | grep 'sdk:' | sed 's/.*: *//' | sed 's/\^//' | tr -d ' ')
DATE=$(date -u +%Y-%m-%d)
COMMIT_SHA=$(git rev-parse HEAD)
@@ -408,7 +406,6 @@ jobs:
# Replace placeholders in manifest
sed -i "s|{{COMMIT_SHA}}|$COMMIT_SHA|g" linux/com.edde746.plezy.yml
sed -i "s|{{FLUTTER_VERSION}}|$FLUTTER_VERSION|g" linux/com.edde746.plezy.yml
- name: Preprocess Flatpak manifest with flatpak-flutter
run: |
@@ -437,7 +434,15 @@ jobs:
path: plezy.flatpak
create-release:
needs: [build-android, build-ios, build-macos, build-windows, build-linux, build-flatpak]
needs:
[
build-android,
build-ios,
build-macos,
build-windows,
build-linux,
build-flatpak,
]
runs-on: ubuntu-latest
permissions:
contents: write