Skip to content

Fix MSIX artifact upload, vPack template, changelog hashes, git tag command #25437

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 10 commits into from
Apr 25, 2025

Conversation

jshigetomi
Copy link
Collaborator

@jshigetomi jshigetomi commented Apr 25, 2025

PR Summary

This pull request introduces several updates to pipeline configurations and templates to improve functionality, maintainability, and clarity. The changes include removing unused stages, refining file paths, enhancing release notes generation, and improving PowerShell script robustness. Below are the most important changes grouped by theme:

Pipeline Configuration Updates:

  • Removed the ReleaseDocker stage from .pipelines/PowerShell-Release-Official.yml to streamline the pipeline and eliminate unused functionality.
  • Updated the file path for the SetVersionVariables.yml template in .pipelines/PowerShell-vPack-Official.yml to use a consistent relative path (.pipelines/templates/SetVersionVariables.yml@self).

Release Notes Enhancements:

  • Enhanced the release notes generation in .pipelines/templates/release-githubNuget.yml by appending SHA256 hashes of release artifacts to the changelog using a StringBuilder. This ensures better traceability of release files.

PowerShell Script Improvements:

  • Improved the robustness of the Copy-Item operation in .pipelines/templates/release-create-msix.yml by adding a check to ensure the destination directory exists before copying files.
  • Replaced inline PowerShell scripts with PowerShell@2 tasks in .pipelines/templates/release-githubNuget.yml for better readability and alignment with modern Azure DevOps practices. [1] [2]

Miscellaneous Updates:

  • Added a title to the GitHub release task in .pipelines/templates/release-githubNuget.yml to clearly label the release with the version tag (e.g., "v1.0.0 Release of PowerShell").

PR Context

PR Checklist

@jshigetomi jshigetomi added CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log BackPort-7.5.x-Consider BackPort-7.4.x-Consider labels Apr 25, 2025
@jshigetomi jshigetomi marked this pull request as ready for review April 25, 2025 15:37
@jshigetomi jshigetomi requested a review from a team as a code owner April 25, 2025 15:37
@jshigetomi jshigetomi changed the title Fix MSIX artifact upload and vPack template Fix MSIX artifact upload, vPack template, changelog hashes Apr 25, 2025
@jshigetomi jshigetomi changed the title Fix MSIX artifact upload, vPack template, changelog hashes Fix MSIX artifact upload, vPack template, changelog hashes, git tag command Apr 25, 2025
@TravisEz13
Copy link
Member

/azp run PowerShell-CI-linux-packaging, PowerShell-Windows-Packaging-CI

Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@TravisEz13 TravisEz13 merged commit ca7038b into master Apr 25, 2025
37 checks passed
Copy link
Contributor

microsoft-github-policy-service bot commented Apr 25, 2025

📣 Hey @@jshigetomi, how did we do? We would love to hear your feedback with the link below! 🗣️

🔗 https://aka.ms/PSRepoFeedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backport-7.4.x-Migrated BackPort-7.5.x-Consider CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants