Skip to content

Commit 5bb255f

Browse files
committed
feat(ci): extract changelog to version-code fastline file for publish
1 parent a17f578 commit 5bb255f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515

1616
jobs:
1717
release:
18-
name: Create GH release and promote Play store beta to release
18+
name: Create GH release and promote Play store release
1919
runs-on: ubuntu-24.04
2020
permissions:
2121
contents: write
@@ -78,7 +78,7 @@ jobs:
7878
ANDROID_PUBLISHER_CREDENTIALS: ${{ secrets.GOOGLE_CLOUD_SERVICE_ACCOUNT_CREDENTIALS }}
7979

8080
- name: Extract changelog
81-
run: awk '/^## / { if (p) {exit}; { p=1; next} } p' CHANGELOG.md > this_release_changelog.md
81+
run: awk '/^## / { if (p) {exit}; { p=1; next} } p' CHANGELOG.md > fastlane/metadata/android/en-US/changelogs/${{ env.VERSION_CODE}}.txt
8282

8383
- name: Move APKs to project root
8484
run: |
@@ -92,7 +92,7 @@ jobs:
9292
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9393
with:
9494
tag_name: ${{ github.ref_name }}
95-
body_path: ./this_release_changelog.md
95+
body_path: ./fastlane/metadata/android/en-US/changelogs/${{ env.VERSION_CODE}}.txt
9696
name: ${{ github.ref_name }}
9797
draft: true
9898
prerelease: ${{ contains(github.ref_name, 'beta') }}

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.4.8
1+
3.4.7

0 commit comments

Comments
 (0)