-
Notifications
You must be signed in to change notification settings - Fork 3
CI/CD Apply release version Android/WinUI app #154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request implements CI/CD automation to apply release version information to Android and WinUI apps during the build process. The changes eliminate custom versioning services in favor of using MAUI's built-in AppInfo functionality and standardize version handling across platforms.
Key changes include:
- Replacing custom platform-specific version services with MAUI's AppInfo.Current.VersionString
- Adding centralized version properties to Directory.Build.props for consistent version management
- Enhancing CI/CD workflows to automatically extract and apply version information from GitHub release tags
- Updating copyright year to 2025
Reviewed Changes
Copilot reviewed 15 out of 16 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| Directory.Build.props | Adds centralized ApplicationDisplayVersion and ApplicationVersion properties |
| AboutPageViewModel.cs | Replaces IVersionService dependency with direct AppInfo usage |
| AboutPage.xaml | Updates copyright year from 2024 to 2025 |
| IVersionService.cs | Removes custom versioning interface (deleted) |
| VersionService.cs files | Removes platform-specific version service implementations |
| PlatformServicesModule.cs files | Removes VersionService registrations from DI containers |
| Package.appxmanifest | Updates WinUI app identity with proper naming and publisher |
| AndroidManifest.xml | Removes hardcoded versionName attribute |
| BrickController2.Android.csproj | Adds commented MSBuild targets for dynamic version updates |
| build-windows.yml | Enhances workflow with release version extraction, certificate signing, and dynamic versioning |
| build-android.yml | Adds release version extraction and applies to build process |
No description provided.