Skip to content

Add code sign tests#772

Merged
caesay merged 4 commits intodevelopfrom
pr-759
Feb 23, 2026
Merged

Add code sign tests#772
caesay merged 4 commits intodevelopfrom
pr-759

Conversation

@caesay
Copy link
Member

@caesay caesay commented Feb 23, 2026

Closes #759
Closes #748

remco1271 and others added 3 commits February 23, 2026 00:09
Updated filesToSignStr to use double quotes on Windows and single quotes on other platforms. This ensures file paths with spaces or special characters are handled correctly during code signing across different operating systems.
Refactored file path and argument handling for Linux code signing.
Removed the double escape by previous commit
File paths are now wrapped in single quotes, and a new EscapeForBash
method ensures special characters in signing arguments are properly
escaped for bash. Removed redundant manual escaping in
RunSigningCommand, relying on earlier escaping for command safety.
@codecov
Copy link

codecov bot commented Feb 23, 2026

Codecov Report

❌ Patch coverage is 73.68421% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 38.17%. Comparing base (60449e9) to head (5e5b87b).
⚠️ Report is 7 commits behind head on develop.

Files with missing lines Patch % Lines
src/vpk/Velopack.Packaging.Windows/CodeSign.cs 72.22% 3 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #772      +/-   ##
===========================================
- Coverage    42.76%   38.17%   -4.59%     
===========================================
  Files          258      257       -1     
  Lines        19532    19450      -82     
  Branches      2122     2078      -44     
===========================================
- Hits          8353     7426     -927     
- Misses       10798    11698     +900     
+ Partials       381      326      -55     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@caesay caesay merged commit b6b3ef8 into develop Feb 23, 2026
55 of 58 checks passed
@caesay caesay deleted the pr-759 branch February 23, 2026 01:01
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.

signing command mysteriously removes matched square brackets and everything in between

2 participants