Skip to content

Added more testing and updated code based on results #40

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

Merged
merged 1 commit into from
Jun 10, 2025

Conversation

smaillet
Copy link
Member

Added more testing and updated code based on results

  • Task now validates the pre-release number/fix ONLY when a pre-release name is provided.
    • Otherwise the number/fix are irrelevant.
  • Adjusted error codes to include the validation of the Fix as it accidentally used the wrong value and therefore, did not have a distinct code.
  • Added error code for Missing BuildVersionData element in BuildVersionXml file
    • This resulted in an adjustment of error codes.
  • Moved clearing of CI info properties to targets file
    • This is required to have the correct impact as the props file is imported BEFORE any project file. Thus, anything set in a project file would re-set the value to non-empty which isn't the intended state.

* Task now validates the pre-release number/fix ONLY when a pre-release name is provided.
    - Otherwise the number/fix are irrelevant.
* Adjusted error codes to include the validation of the Fix as it accidentally used the wrong value and therefore, did not have a distinct code.
* Added error code for Missing BuildVersionData element in BuildVersionXml file
    - This resulted in an adjustment of error codes.
* Moved clearing of CI info properties to targets file
    - This is required to have the correct impact as the props file is imported BEFORE any project file. Thus, anything set in a project file would re-set the value to non-empty which isn't the intended state.
Copy link

Test Results

72 tests  +29   72 ✅ +29   18s ⏱️ +8s
 2 suites ± 0    0 💤 ± 0 
 2 files   ± 0    0 ❌ ± 0 

Results for commit 0cf45cd. ± Comparison against base commit 53c8bae.

@smaillet smaillet merged commit eca4234 into UbiquityDotNET:develop Jun 10, 2025
3 checks passed
@smaillet smaillet deleted the TaskErrorReportingTests branch June 10, 2025 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant