refactor(ci): replace mobile-specific terms with generic product terminology
🔄 Updated workflows and scripts to use product-agnostic naming: Workflow Changes: - 📱 Mobile Release → 📦 Product Release - 🚨 Mobile Hotfix → 🚨 Product Hotfix - Mobile App → Product (in descriptions) - "mobile app" → "product" (in messages and tags) - "pubspec.yaml" → "version file" (in user-facing text) Display Names: - Worker Mobile → Worker Product - Client Mobile → Client Product - Staff Mobile App → Staff Product (Worker) - Client Mobile App → Client Product Benefits: ✅ Makes workflows extensible for other product types ✅ Consistent terminology across all automation ✅ Easier to add web, backend, or other products later ✅ Keeps implementation details (paths, scripts) unchanged ✅ Maintains backward compatibility with existing tags Note: File paths remain unchanged (apps/mobile/...) as they are implementation-specific
This commit is contained in:
6
.github/scripts/extract-version.sh
vendored
6
.github/scripts/extract-version.sh
vendored
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
# Extract version from pubspec.yaml for mobile apps
|
||||
# Extract version from version file for products
|
||||
# Usage: ./extract-version.sh <app>
|
||||
# app: worker or client
|
||||
|
||||
@@ -15,10 +15,10 @@ fi
|
||||
# Determine pubspec path
|
||||
if [ "$APP" = "worker" ]; then
|
||||
PUBSPEC_PATH="apps/mobile/apps/staff/pubspec.yaml"
|
||||
APP_NAME="Staff Mobile App (Worker)"
|
||||
APP_NAME="Staff Product (Worker)"
|
||||
else
|
||||
PUBSPEC_PATH="apps/mobile/apps/client/pubspec.yaml"
|
||||
APP_NAME="Client Mobile App"
|
||||
APP_NAME="Client Product"
|
||||
fi
|
||||
|
||||
# Check if pubspec exists
|
||||
|
||||
Reference in New Issue
Block a user