Skip to content

Commit a7be571

Browse files
authored
Merge pull request #76 from inventory69/feature/ci-changelog-fix
fix(ci): add changelog 35 and auto-fallback for version code mismatches
2 parents 3438a98 + 937f54a commit a7be571

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)