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/build-android-flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch full git history for accurate commit count
token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up JDK 17
Expand Down Expand Up @@ -67,9 +68,9 @@ jobs:
cd mobile
# Update pubspec.yaml version to use Flutter format (version+build)
if [[ "$IMAGE_TAG" != "latest" ]]; then
# Remove 'v' prefix if present and create build number from commit hash
# Remove 'v' prefix if present and create build number from git count with offset
VERSION_NAME=${IMAGE_TAG#v}
BUILD_NUMBER=$(git rev-parse --short HEAD)
BUILD_NUMBER=$(($(git rev-list --count HEAD) + 20250000))
sed -i "s/^version: .*/version: ${VERSION_NAME}+${BUILD_NUMBER}/" pubspec.yaml

# Also update environment.dart constants
Expand Down
4 changes: 2 additions & 2 deletions mobile/lib/core/environment.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ class Environment {
static const _applicationName = 'Pinepods';
static const _applicationUrl =
'https://github.com/madeofpendletonwool/pinepods';
static const _projectVersion = '1.1.2';
static const _build = '3b63d38';
static const _projectVersion = '0.8.0';
static const _build = '20252158';

static var _agentString = userAgentAppString;

Expand Down
2 changes: 1 addition & 1 deletion mobile/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: pinepods_mobile
description: Pinepods Podcast Server

version: 1.1.2+3b63d38
version: 0.8.0+20252158

environment:
sdk: ">=3.8.0 <4.0.0"
Expand Down