Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
HemantKArya committed Sep 11, 2024
1 parent 56e4931 commit 1af0475
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 25 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/checkout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:


- name: Rename APK file
run: Rename-Item -Path "build/app/outputs/flutter-apk/app-release.apk" -NewName "bloomee_tunes_android_v2.9.10+${{github.run_number}}.apk"
run: Rename-Item -Path "build/app/outputs/flutter-apk/app-release.apk" -NewName "bloomee_tunes_android_v2.9.11+${{github.run_number}}.apk"

- name: Build Windows App
run: flutter build windows --release --build-number ${{github.run_number}}
Expand All @@ -52,14 +52,14 @@ jobs:
run: Rename-Item -Path "build/windows/x64/runner/Release/bloomee.exe" -NewName "Bloomee.exe"

- name: ZIP build
run: Compress-Archive -Path build/windows/x64/runner/Release/* -Destination build/windows/x64/bloomee_tunes_windows_x64_v2.9.10+${{github.run_number}}.zip
run: Compress-Archive -Path build/windows/x64/runner/Release/* -Destination build/windows/x64/bloomee_tunes_windows_x64_v2.9.11+${{github.run_number}}.zip

- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: Release
path: |
build/app/outputs/flutter-apk/bloomee_tunes_android_v2.9.10+${{github.run_number}}.apk
build/app/outputs/flutter-apk/bloomee_tunes_android_v2.9.11+${{github.run_number}}.apk
build/windows/x64/bloomee_tunes_windows_x64_v2.9.9+${{github.run_number}}.zip
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linux_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ jobs:
- name: Zip Linux App
run: |
cd build/linux/x64/release/bundle
zip -r bloomee_tunes_linux_v2.9.10_dev+${{github.run_number}}.zip .
zip -r bloomee_tunes_linux_v2.9.11_dev+${{github.run_number}}.zip .
- name: Upload Linux App
uses: actions/upload-artifact@v4
with:
name: bloomee_tunes_linux_dev
path: build/linux/x64/release/bundle/bloomee_tunes_linux_v2.9.10_dev+${{github.run_number}}.zip
path: build/linux/x64/release/bundle/bloomee_tunes_linux_v2.9.11_dev+${{github.run_number}}.zip
38 changes: 19 additions & 19 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ jobs:
- name: Rename APK file
run: |
Rename-Item -Path "build/app/outputs/flutter-apk/app-release.apk" -NewName "bloomee_tunes_android_v2.9.10+${{github.run_number}}_universal.apk"
Rename-Item -Path "build/app/outputs/flutter-apk/app-x86-release.apk" -NewName "bloomee_tunes_android_v2.9.10+${{github.run_number}}_x86.apk"
Rename-Item -Path "build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk" -NewName "bloomee_tunes_android_v2.9.10+${{github.run_number}}_armeabi-v7a.apk"
Rename-Item -Path "build/app/outputs/flutter-apk/app-arm64-v8a-release.apk" -NewName "bloomee_tunes_android_v2.9.10+${{github.run_number}}_arm64-v8a.apk"
Rename-Item -Path "build/app/outputs/flutter-apk/app-x86_64-release.apk" -NewName "bloomee_tunes_android_v2.9.10+${{github.run_number}}_x86_64.apk"
Rename-Item -Path "build/app/outputs/flutter-apk/app-release.apk" -NewName "bloomee_tunes_android_v2.9.11+${{github.run_number}}_universal.apk"
Rename-Item -Path "build/app/outputs/flutter-apk/app-x86-release.apk" -NewName "bloomee_tunes_android_v2.9.11+${{github.run_number}}_x86.apk"
Rename-Item -Path "build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk" -NewName "bloomee_tunes_android_v2.9.11+${{github.run_number}}_armeabi-v7a.apk"
Rename-Item -Path "build/app/outputs/flutter-apk/app-arm64-v8a-release.apk" -NewName "bloomee_tunes_android_v2.9.11+${{github.run_number}}_arm64-v8a.apk"
Rename-Item -Path "build/app/outputs/flutter-apk/app-x86_64-release.apk" -NewName "bloomee_tunes_android_v2.9.11+${{github.run_number}}_x86_64.apk"
- name: Build Windows App
Expand All @@ -73,32 +73,32 @@ jobs:
run: Rename-Item -Path "build/windows/x64/runner/Release/bloomee.exe" -NewName "Bloomee.exe"

- name: ZIP build
run: Compress-Archive -Path build/windows/x64/runner/Release/* -Destination build/windows/x64/bloomee_tunes_windows_x64_v2.9.10+${{github.run_number}}.zip
run: Compress-Archive -Path build/windows/x64/runner/Release/* -Destination build/windows/x64/bloomee_tunes_windows_x64_v2.9.11+${{github.run_number}}.zip

- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: Release
path: |
build/app/outputs/flutter-apk/bloomee_tunes_android_v2.9.10+${{github.run_number}}_universal.apk
build/windows/x64/bloomee_tunes_windows_x64_v2.9.10+${{github.run_number}}.zip
build/app/outputs/flutter-apk/bloomee_tunes_android_v2.9.10+${{github.run_number}}_x86.apk
build/app/outputs/flutter-apk/bloomee_tunes_android_v2.9.10+${{github.run_number}}_armeabi-v7a.apk
build/app/outputs/flutter-apk/bloomee_tunes_android_v2.9.10+${{github.run_number}}_arm64-v8a.apk
build/app/outputs/flutter-apk/bloomee_tunes_android_v2.9.10+${{github.run_number}}_x86_64.apk
build/app/outputs/flutter-apk/bloomee_tunes_android_v2.9.11+${{github.run_number}}_universal.apk
build/windows/x64/bloomee_tunes_windows_x64_v2.9.11+${{github.run_number}}.zip
build/app/outputs/flutter-apk/bloomee_tunes_android_v2.9.11+${{github.run_number}}_x86.apk
build/app/outputs/flutter-apk/bloomee_tunes_android_v2.9.11+${{github.run_number}}_armeabi-v7a.apk
build/app/outputs/flutter-apk/bloomee_tunes_android_v2.9.11+${{github.run_number}}_arm64-v8a.apk
build/app/outputs/flutter-apk/bloomee_tunes_android_v2.9.11+${{github.run_number}}_x86_64.apk
- name: Create Release
uses: ncipollo/release-action@v1
with:
artifacts: |
build/windows/x64/bloomee_tunes_windows_x64_v2.9.10+${{github.run_number}}.zip
build/app/outputs/flutter-apk/bloomee_tunes_android_v2.9.10+${{github.run_number}}_universal.apk
build/app/outputs/flutter-apk/bloomee_tunes_android_v2.9.10+${{github.run_number}}_x86.apk
build/app/outputs/flutter-apk/bloomee_tunes_android_v2.9.10+${{github.run_number}}_armeabi-v7a.apk
build/app/outputs/flutter-apk/bloomee_tunes_android_v2.9.10+${{github.run_number}}_arm64-v8a.apk
build/app/outputs/flutter-apk/bloomee_tunes_android_v2.9.10+${{github.run_number}}_x86_64.apk
build/windows/x64/bloomee_tunes_windows_x64_v2.9.11+${{github.run_number}}.zip
build/app/outputs/flutter-apk/bloomee_tunes_android_v2.9.11+${{github.run_number}}_universal.apk
build/app/outputs/flutter-apk/bloomee_tunes_android_v2.9.11+${{github.run_number}}_x86.apk
build/app/outputs/flutter-apk/bloomee_tunes_android_v2.9.11+${{github.run_number}}_armeabi-v7a.apk
build/app/outputs/flutter-apk/bloomee_tunes_android_v2.9.11+${{github.run_number}}_arm64-v8a.apk
build/app/outputs/flutter-apk/bloomee_tunes_android_v2.9.11+${{github.run_number}}_x86_64.apk
tag: v2.9.10+${{github.run_number}}
tag: v2.9.11+${{github.run_number}}
token: ${{secrets.SECRET_KEY}}
prerelease: true

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: 2.9.10+0
version: 2.9.11+0

environment:
sdk: '>=3.0.6 <4.0.0'
Expand Down

0 comments on commit 1af0475

Please sign in to comment.