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:
4
.github/scripts/create-release-summary.sh
vendored
4
.github/scripts/create-release-summary.sh
vendored
@@ -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
|
||||
|
||||
|
||||
4
.github/scripts/extract-release-notes.sh
vendored
4
.github/scripts/extract-release-notes.sh
vendored
@@ -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
|
||||
|
||||
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
|
||||
|
||||
2
.github/scripts/generate-tag-name.sh
vendored
2
.github/scripts/generate-tag-name.sh
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user