mirror of
https://github.com/jagandeepbrar/lunasea.git
synced 2026-08-31 12:42:34 +00:00
chore: use Git commit message as changelog for edge releases
This commit is contained in:
6
.github/workflows/prepare.yml
vendored
6
.github/workflows/prepare.yml
vendored
@@ -157,6 +157,7 @@ jobs:
|
||||
name: Build Details
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
build-changelog: ${{ steps.build-changelog.outputs.result }}
|
||||
build-number: ${{ steps.build-number.outputs.result }}
|
||||
build-title: ${{ steps.build-title.outputs.output }}
|
||||
build-version: ${{ steps.build-version.outputs.current-version }}
|
||||
@@ -252,16 +253,11 @@ jobs:
|
||||
- name: Generate Build Runner Files
|
||||
run: flutter packages pub run build_runner build
|
||||
|
||||
- name: Generate Changelog
|
||||
run: |
|
||||
echo ${{ needs.build-details.outputs.build-changelog }} > ${{ github.workspace }}/android/fastlane/metadata/android/en-CA/changelogs/default.txt
|
||||
|
||||
- name: Upload Core Files
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: core-files
|
||||
path: |
|
||||
${{ github.workspace }}/android/fastlane/metadata/android/en-CA/changelogs/default.txt
|
||||
${{ github.workspace }}/assets/localization
|
||||
${{ github.workspace }}/lib/**/*.g.dart
|
||||
${{ github.workspace }}/lib/system/environment.dart
|
||||
|
||||
8
.github/workflows/publish_android.yml
vendored
8
.github/workflows/publish_android.yml
vendored
@@ -3,6 +3,9 @@ name: Publish Android
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
build-changelog:
|
||||
required: true
|
||||
type: string
|
||||
build-number:
|
||||
required: true
|
||||
type: string
|
||||
@@ -60,6 +63,11 @@ jobs:
|
||||
case 'edge':
|
||||
default: return 'internal';
|
||||
}
|
||||
|
||||
- name: Generate Changelog
|
||||
run: |
|
||||
mkdir -p ${{ github.workspace }}/android/fastlane/metadata/android/en-CA/changelogs
|
||||
echo ${{ inputs.build-changelog }} > ${{ github.workspace }}/android/fastlane/metadata/android/en-CA/changelogs/default.txt
|
||||
|
||||
- name: Deploy to Google Play Store
|
||||
working-directory: ${{ github.workspace }}/android
|
||||
|
||||
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@@ -120,6 +120,7 @@ jobs:
|
||||
uses: JagandeepBrar/LunaSea/.github/workflows/publish_android.yml@master
|
||||
with:
|
||||
flavor: ${{ inputs.flavor || 'edge' }}
|
||||
build-changelog: ${{ needs.prepare.outputs.build-changelog }}
|
||||
build-number: ${{ needs.prepare.outputs.build-number }}
|
||||
build-title: ${{ needs.prepare.outputs.build-title }}
|
||||
secrets:
|
||||
|
||||
Reference in New Issue
Block a user