Skip to content

Commit

Permalink
feat: Release 0.1.2 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
khaled-0 committed Nov 9, 2024
1 parent f606cd2 commit e9d1b8c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Nightly Build
on:
workflow_dispatch:
push:
branches: ["main"]
branches: [ "main" ]

jobs:
build-android-apk:
Expand Down Expand Up @@ -44,12 +44,12 @@ jobs:
TUBESYNC_JKS: ${{ secrets.TUBESYNC_JKS }}

- name: Build Android Profile Apk
run: flutter build apk --profile && flutter build apk --profile --split-per-abi
run: flutter build apk --profile
env:
TUBESYNC_KEY_PASSWORD: ${{ secrets.TUBESYNC_KEY_PASSWORD }}

- name: Upload Build Artifact
uses: actions/upload-artifact@v4
with:
name: tubesync_android_nightly
path: build/app/outputs/flutter-apk/app-*.apk
path: build/app/outputs/flutter-apk/app-profile.apk
5 changes: 4 additions & 1 deletion lib/services/media_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ class MediaService extends BaseAudioHandler {
_player = null;
_nextTrackCallback = null;
_previousTrackCallback = null;
super.pause().whenComplete(super.stop);
playbackState.add(playbackState.value.copyWith(
playing: false,
processingState: AudioProcessingState.idle,
));
}

File mediaFile(Media media) => File(path.join(mediaDir, media.id));
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 0.1.1+2
version: 0.1.2+3

environment:
sdk: ^3.5.3
Expand Down

0 comments on commit e9d1b8c

Please sign in to comment.