8000 fix: release: Add write permissions to workflow by acikgozb · Pull Request #7 · acikgozb/fcb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: release: Add write permissions to workflow #7

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 2 commits into from
Apr 24, 2025
Merged

Conversation

acikgozb
Copy link
Owner

This PR adds the missing permission to the workflow for gh release create.

Along with this change, it also fixes the checksum generation for Linux by separating the function based on given OS.

The write permission is granted to the workflow to execute `gh release`.

Signed-off-by: acikgozb <acikgozb@proton.me>
This is done to prevent expanding empty `sha_opts` for Linux, which
causes an error and disrupts the flow due to `set -u`.

Signed-off-by: acikgozb <acikgozb@proton.me>
@acikgozb acikgozb self-assigned this Apr 24, 2025
@acikgozb acikgozb merged commit 5097c91 into main Apr 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0