Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line numberDiff line numberDiff line change
Expand Up@@ -32,9 +32,10 @@ jobs:
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.38.7'
flutter-version-file: './workout-logger/pubspec.yaml'
channel: 'stable'
cache: true
pub-cache-key: "flutter-pub-:os:-:channel:-:version:-:arch:-${{ hashFiles('workout-logger/pubspec.lock') }}"

- name: Install dependencies
working-directory: ./workout-logger
Expand DownExpand Up@@ -69,7 +70,7 @@ jobs:
echo "committed=false" >> $GITHUB_OUTPUT
else
git commit -m "chore: bump version to ${{ steps.version.outputs.value }}"
git push origin main
git push origin HEAD:${{ github.ref_name }}
echo "committed=true" >> $GITHUB_OUTPUT
fi

Expand Down
4 changes: 2 additions & 2 deletions CLAUDE.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -16,7 +16,7 @@ This file provides guidance for AI assistants working on the RepForge codebase.

**Package:** `com.devasy.repforge`
**Version:** `1.0.6+7`
**Flutter SDK:** `^3.9.2`
**Flutter SDK:** `3.41.5`

---

Expand DownExpand Up@@ -217,7 +217,7 @@ dart run build_runner build --delete-conflicting-outputs
Triggers automatically on push to `main`:
1. Runs `dart scripts/bump_version.dart patch` (increments patch version)
2. Commits version bump and creates a git tag (`v{version}`)
3. Builds release APK with Flutter 3.38.7
3. Builds the release APK with the Flutter version pinned in `workout-logger/pubspec.yaml` (currently 3.41.5)
4. Creates a GitHub Release with the APK attached

**Do not** manually edit `pubspec.yaml` version before merging to `main` — the CI handles it. For a minor/major bump, edit `pubspec.yaml` manually before the merge.
Expand Down