chore(.github/workflows/release.yml): update release workflow to correctly pass tag_name output to SLSA generator #3988
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.
Description
This pull request updates the
.github/workflows/release.yml
file to enhance the release workflow by modifying how thetag_name
output is handled and ensuring consistency in the workflow configuration.Key changes to the release workflow:
Addition of
tag_name
output ingoreleaser
job:tag_name
to thegoreleaser
job to capture the tag name generated during the build process. ([.github/workflows/release.ymlR19](https://github.com/dragonflyoss/dragonfly/pull/3988/files#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34R19)
)Update to
upload-tag-name
inslsa-github-generator
:upload-tag-name
input to use thetag_name
output from thegoreleaser
job instead of therelease
job, ensuring the correct tag name is passed for the release process. ([.github/workflows/release.ymlR73-L73](https://github.com/dragonflyoss/dragonfly/pull/3988/files#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34R73-L73)
)Related Issue
Motivation and Context
Screenshots (if appropriate)
Types of changes
Checklist