Proje: Okul B2B App · Hub: Okul B2B App — Conventions
Versiyon Yönetimi Scripti
scripts/version.js — Versiyon bump ve release notes otomasyonu.
Komutlar
npm run version:patch # 1.0.0 → 1.0.1
npm run version:minor # 1.0.0 → 1.1.0
npm run version:major # 1.0.0 → 2.0.0
npm run version:info # Mevcut versiyon bilgisi
npm run release-notes # Release notes oluşturBump Sırası
package.jsonversion güncelleapp.config.tsversion güncelleBuildInfo.tsconstants güncelle- Release notes oluştur
- Git tag oluştur (ör:
v1.0.1)
ANCAK: Native build için android/app/build.gradle ve ios/Okulcomtr/Info.plist’i script güncellemez. Bu native dosyaları manuel artırmak gerekir!
Kritik Hatırlatma
app.config.ts native dizinler (android/, ios/) varken IGNORED. Gerçek version şuradan:
grep -A1 "versionCode" android/app/build.gradle
grep -A1 "CFBundleVersion" ios/Okulcomtr/Info.plistRelease Notes
npm run release-notes → git log’dan son commit’leri derler. Kayıt: build-output/ klasörü.
Related
- build-ve-ota-update — native versiyon artırma gerekliliği