Skip to content
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

🐛 Fix Draft Release Github action to fetch the tag name #286

Merged
merged 1 commit into from
Dec 14, 2021
Merged

🐛 Fix Draft Release Github action to fetch the tag name #286

merged 1 commit into from
Dec 14, 2021

Conversation

dharmjit
Copy link
Contributor

env.GITHUB_REF is replaced with github.ref_name as this variable contains the branch or tag name that triggered the workflow run. Refer this - https://docs.github.com/en/actions/learn-github-actions/contexts#github-context

Signed-off-by: Dharmjit Singh [email protected]

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #281

Additional information

Special notes for your reviewer

Performed validation in this repo https://github.com/dharmjit/cluster-api-provider-bringyourownhost. Refer - Job Test Output for https://github.com/dharmjit/cluster-api-provider-bringyourownhost/runs/4505890775?check_suite_focus=true or the draft release assets.

env.GITHUB_REF is replaced with github.ref_name as this variable
contains the branch or tag name that triggered the workflow run.

Signed-off-by: Dharmjit Singh <[email protected]>
@anusha94
Copy link
Contributor

/approve

@shamsher31
Copy link
Contributor

/approve

@shamsher31
Copy link
Contributor

Thanks @dharmjit

@shamsher31 shamsher31 merged commit 3265e01 into vmware-tanzu:main Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update make task for generating release artifacts
5 participants