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:
Achintha Isuru
2026-03-05 11:58:28 -05:00
parent 0e296bf83b
commit 3e31002d1e
6 changed files with 26 additions and 26 deletions

View File

@@ -17,10 +17,10 @@ fi
# Determine display names
if [ "$APP" = "worker" ]; then
APP_DISPLAY="Worker Mobile"
APP_DISPLAY="Worker Product"
APP_EMOJI="👷"
else
APP_DISPLAY="Client Mobile"
APP_DISPLAY="Client Product"
APP_EMOJI="💼"
fi

View File

@@ -19,10 +19,10 @@ fi
# Determine CHANGELOG path and app name
if [ "$APP" = "worker" ]; then
CHANGELOG_PATH="apps/mobile/apps/staff/CHANGELOG.md"
APP_NAME="Staff Mobile App (Worker)"
APP_NAME="Staff Product (Worker)"
else
CHANGELOG_PATH="apps/mobile/apps/client/CHANGELOG.md"
APP_NAME="Client Mobile App"
APP_NAME="Client Product"
fi
# Try to extract release notes for this version

View File

@@ -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

View File

@@ -1,5 +1,5 @@
#!/bin/bash
# Generate tag name for mobile release
# Generate tag name for product release
# Usage: ./generate-tag-name.sh <app> <environment> <version>
set -e