[release/v7.4]Make sure the vPack pipeline does not produce an empty package #25082
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport #24988
This pull request includes several important changes to the
.pipelines/PowerShell-vPack-Official.ymlfile to improve the handling of package artifacts and ensure proper validation and signing of files. The key changes involve setting new variables, updating paths, adding error handling, and refining file selection for signing.Improvements to package artifact handling:
PackageArtifactPathand updated commands to use this variable instead ofSystem.ArtifactsDirectory. This change ensures that the correct path is used consistently throughout the pipeline.Validation and signing refinements:
System.Management.Automation.dlland exclude other.dlland script files. This change ensures that only the necessary files are signed..zippackages and ensure that the correct architecture is used. This change helps in maintaining the integrity of the package validation process.