Skip to content

Commit 937f54a

Browse files
committed
fix(ci): add changelog 35 and auto-fallback for version code mismatches
Version code 35 was missing changelog files (only 34.txt existed) because the version code was bumped after a failed API upload. Two fixes: - Copy 34.txt → 35.txt for en-US and de-DE (unblocks current release) - Add "Ensure changelog exists" workflow step that automatically copies the latest existing changelog to the current version code if the exact file is absent, preventing empty release notes on future code bumps.
1 parent 3438a98 commit 937f54a

3 files changed

Lines changed: 40 additions & 0 deletions

File tree

.github/workflows/deploy-google-play.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,24 @@ jobs:
9797
echo "AAB_PATH=$AAB_PATH" >> $GITHUB_OUTPUT
9898
echo "Found AAB: $AAB_PATH ($(du -sh "$AAB_PATH" | cut -f1))"
9999
100+
- name: Ensure changelog exists for version code
101+
run: |
102+
VERSION_CODE=${{ steps.version.outputs.VERSION_CODE }}
103+
for locale_dir in fastlane/metadata/android/*/changelogs; do
104+
target="$locale_dir/$VERSION_CODE.txt"
105+
if [ ! -f "$target" ]; then
106+
latest=$(ls "$locale_dir"/*.txt 2>/dev/null | sort -V | tail -1)
107+
if [ -n "$latest" ]; then
108+
cp "$latest" "$target"
109+
echo "No $VERSION_CODE.txt in $locale_dir — copied from $(basename $latest)"
110+
else
111+
echo "WARNING: No changelog files found in $locale_dir"
112+
fi
113+
else
114+
echo "Changelog $target already exists"
115+
fi
116+
done
117+
100118
- name: Upload to Google Play
101119
uses: r0adkll/upload-google-play@v1
102120
with:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
🎉 v2.5.1 — erstes Play-Store-Production-Release!
2+
3+
v2.5.0 war als initialer Production-Build vorbereitet, aber nie veröffentlicht.
4+
v2.5.1 vervollständigt Notizfarben mit Sortierung und ist die Version, die in Production geht.
5+
6+
• Notizen nach Farbe sortieren — neu in v2.5.1
7+
• Notizfarben: 12-Farben-Palette, Editor & Mehrfachauswahl
8+
• Notizen nach Farbe filtern
9+
• Google-Keep-Import aus einer .zip
10+
• Checklisten-Animation
11+
• APK −11%: kleinere Downloads (5,2 → 4,7 MB)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
🎉 v2.5.1 — first Play Store production release!
2+
3+
v2.5.0 was prepared as the first production build but never published.
4+
v2.5.1 completes note colours with sorting and is the version reaching production.
5+
6+
• Sort notes by colour — new in v2.5.1
7+
• Note colours: 12-colour palette, in editor & multi-select
8+
• Filter notes by colour
9+
• Google Keep import from a Keep / Takeout .zip
10+
• Checklist tap animation
11+
• APK −11%: smaller download (5.2 → 4.7 MB)

0 commit comments

Comments
 (0)