Skip to content

Commit 75a0b33

Browse files
Copilotmattleibow
andcommitted
Revert AssemblyInfo.cs and update copilot-instructions
- Revert source/AssemblyInfo.cs to restore placeholder tokens - Enhance copilot-instructions.md with explicit reminder to always revert AssemblyInfo.cs before committing Co-authored-by: mattleibow <[email protected]>
1 parent 39e7837 commit 75a0b33

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/copilot-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The repository uses a **config-driven approach** where all bindings are defined
1919
- **`config.json`**: Master configuration containing all 600+ Maven artifacts to bind, their versions, and NuGet package information
2020
- **`build.cake`**: Main Cake build script orchestrating the entire build process
2121
- **`BUILDING.md`**: Comprehensive build instructions and prerequisites
22-
- **`source/AssemblyInfo.cs`**: Contains build metadata placeholders that are replaced during the build process. **DO NOT EDIT** this file or modify the placeholder tokens - always revert any changes to maintain the original placeholder format.
22+
- **`source/AssemblyInfo.cs`**: Contains build metadata placeholders that are replaced during the build process. **DO NOT EDIT** this file or modify the placeholder tokens. **CRITICAL**: This file is often modified by the build process. **ALWAYS check and revert `source/AssemblyInfo.cs` before committing** using `git checkout HEAD~1 -- source/AssemblyInfo.cs` or `git checkout <commit>~1 -- source/AssemblyInfo.cs` to restore placeholder tokens like `{BUILD_COMMIT}`, `{BUILD_NUMBER}`, and `{BUILD_TIMESTAMP}`.
2323

2424

2525
### Directory Structure

source/AssemblyInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
using System.Runtime.CompilerServices;
33
using Android.App;
44

5-
[assembly: AssemblyMetadata ("BUILD_COMMIT", "DEV")]
6-
[assembly: AssemblyMetadata ("BUILD_NUMBER", "DEBUG")]
7-
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "10/29/2025 21:56:22")]
5+
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
6+
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
7+
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
88

99
#if !NETCOREAPP
1010
[assembly: Android.LinkerSafe]

0 commit comments

Comments
 (0)