v7.1.1
What's Changed
-
release workflow: Additional Updates @Javagedes (#228)
Change Details
## Description
The previous update to the release workflow, while working in terms of creating branches and publishing PRs, ended up breaking the actual publish logic, which went untested. The following changes were made to fix the issues:
Provides additional updates to the release workflow including:
- Checking out the branch (and push it to origin) before doing a dry-run or release to prevent cargo release from erroring saying it cannot push from
HEAD(i.e. a floating commit, which is what we checkout when running from a tag release trigger) - Add the
--registry UefiRustso that the dry run does not think we are attempting to create new crates instead of updating versions (it was looking at crates.io by default) - Allow cargo-release to push to the remote now that the branch exists before running it.
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
I generated and added an PAT so that the pipeline could talk to the UefiRust registry. I commented out the final publish, but allowed the --dry-run to run, which succeeded.
Integration Instructions
N/A
</blockquote> <hr> </details> - Checking out the branch (and push it to origin) before doing a dry-run or release to prevent cargo release from erroring saying it cannot push from
-
CiWorkflow: Remove GH\_PAT requirement @Javagedes (#227)
Change Details
## Description
with the move from direct repository access for dependencies to using a private registry, the GH_PAT is no longer needed for CI. Instead, the CRATES_IO_TOKEN is used to authenticate with the private registry.
This commit updates the required secret to be CRATES_IO_TOKEN instead of GH_PAT.
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
CI passes
Integration Instructions
Consuming repositories should add the CRATES_IO_TOKEN secret to their list of secrets, and remove the GH_PAT secret.
</blockquote> <hr> </details>
Full Changelog: v7.1.0...v7.1.1