Commit Graph

24 Commits

Author SHA1 Message Date
Achintha Isuru
0e296bf83b refactor(ci): enhance mobile release workflow with emojis and extracted scripts
 Enhanced mobile-release.yml workflow:
- 📱 Added emojis to all steps for better visual feedback
- 🔧 Version now automatically extracted from pubspec.yaml
  - No manual version input required
  - Reads from apps/mobile/apps/staff/pubspec.yaml for worker
  - Reads from apps/mobile/apps/client/pubspec.yaml for client
- 📝 Removed manual version input field from workflow

🔨 Created reusable shell scripts in .github/scripts/:
1. extract-version.sh - Extract version from pubspec.yaml
2. generate-tag-name.sh - Generate tag names consistently
3. extract-release-notes.sh - Extract CHANGELOG sections
4. create-release-summary.sh - Generate GitHub Step Summary with emojis

Benefits:
 Simpler workflow - just select app and environment
 Single source of truth for versions (pubspec.yaml)
 Reusable scripts can be used in other workflows
 Better error messages and validation
 Enhanced visual feedback with emojis
 Cleaner workflow file (moved logic to scripts)
2026-03-05 11:49:11 -05:00
Achintha Isuru
054852fcde feat(ci): add GitHub Actions workflows for mobile releases and hotfixes
- Add mobile-release.yml workflow:
  - Manual trigger with app (worker/client) and environment (dev/stage/prod) selection
  - Version validation (semantic versioning)
  - Tag creation with format: krow-withus-<app>-mobile/<env>-vX.Y.Z
  - GitHub Release creation with CHANGELOG extraction
  - Release naming: 'Krow With Us - Worker Mobile - DEV - v0.1.0'
  - Pre-release support

- Add mobile-hotfix.yml workflow:
  - Emergency production fix automation
  - Creates hotfix branch from production tag
  - Auto-increments PATCH version
  - Updates pubspec.yaml and CHANGELOG.md
  - Creates PR with hotfix instructions
  - Follows documented hotfix process

Both workflows support staff (worker) and client mobile apps independently.

Implements mobile release strategy from docs/release/
2026-03-05 11:41:45 -05:00
zouantchaw
3da94f16fd Merge remote-tracking branch 'origin/dev' into codex/feat-architecture-lead-bootstrap 2026-02-26 09:45:09 -05:00
zouantchaw
f8f81ec77c feat(backend): add foundation services and sql idempotency 2026-02-23 22:27:40 -05:00
f7284b5cfb Merge branch 'dev' into feature/session-persistence-424 2026-02-20 20:56:18 +05:30
474be43448 fix: add ignore_for_file to data connect Repos and modify CI to avoid analyzing deleted files 2026-02-20 19:51:44 +05:30
Achintha Isuru
af78b38ea2 fix: Add pipefail option to lint step for improved error handling 2026-02-20 02:01:29 -05:00
Achintha Isuru
c3f8a4768a fix: Update mobile CI workflow for improved error handling and efficiency 2026-02-20 01:55:16 -05:00
Achintha Isuru
50309bfb39 fix: Add pipefail option to compilation check for better error handling 2026-02-20 01:47:47 -05:00
Achintha Isuru
518991f895 fix: Improve error handling in mobile app build process 2026-02-20 01:43:03 -05:00
Achintha Isuru
2162b5493e fix: Change build mode from 'dev' to 'debug' for mobile client and staff apps 2026-02-20 01:33:15 -05:00
Achintha Isuru
614851274b feat: Update mobile CI workflow to streamline build process and remove CI-specific setup 2026-02-20 01:26:13 -05:00
Achintha Isuru
0fad902991 feat: Install Firebase CLI in CI workflow and simplify SDK generation process 2026-02-20 01:10:38 -05:00
Achintha Isuru
49f32b24f4 feat: Update mobile CI workflow to use mobile-install-ci for CI-specific setup 2026-02-20 01:02:37 -05:00
Achintha Isuru
1510b69d59 feat: Enhance mobile CI workflow to compare all changes in PRs and streamline analysis commands 2026-02-19 17:13:03 -05:00
Achintha Isuru
1dd3699373 feat: Update mobile CI workflow to use melos for build and analysis 2026-02-19 17:05:56 -05:00
Achintha Isuru
b6c3fb8487 feat: Update Flutter version to 3.38.x in mobile CI workflow 2026-02-19 16:49:23 -05:00
Achintha Isuru
410e5b5cd1 feat: Update Flutter version file path in mobile CI workflow 2026-02-19 16:47:25 -05:00
Achintha Isuru
b8772b301e feat: Update Flutter version handling in CI and adjust pubspec files for compatibility 2026-02-19 16:45:03 -05:00
Achintha Isuru
e650af87c0 feat: Add mobile CI workflow for change detection, compilation, and linting 2026-02-19 16:28:06 -05:00
zouantchaw
cb7c03abfc Generate dataconnect SDK in CI instead of tracking web artifacts 2026-02-13 10:51:29 -05:00
zouantchaw
1269f7228e Add web typecheck gate and remove order update any-casts 2026-02-13 10:42:47 -05:00
zouantchaw
8df6ac5569 Fix web-quality action pnpm setup order 2026-02-13 10:26:43 -05:00
zouantchaw
6502a2f983 Add quality gates and baseline tests for web/mobile 2026-02-12 23:21:25 -05:00