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 bash shenanigans in CI #107

Merged
merged 1 commit into from
Mar 6, 2022
Merged

Conversation

Shadowghost
Copy link
Contributor

No description provided.

find ./ -type f \( -name "*.deb" -o -name "*.zip" \) | while read file; do
sha256sum ${file#./} >> ${file%.*}.sha256
cd artifact
find . -type f \( -name "*.deb" -o -name "*.zip" \) | while read file; do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will still have the same problem since find will append ./ to the start.

Should just be for file in *.deb *.zip; do.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also should likely use pushd/popd instead of cd, but that's down to preference and shouldn't matter in this case.

@joshuaboniface joshuaboniface merged commit e861bcc into jellyfin:jellyfin Mar 6, 2022
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.

None yet

2 participants