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 indices used to check CLI and GUI file names in workflow #2269

Conversation

binaryFate
Copy link
Contributor

Current workflow failed on checking the last CLI file name.
Index between CLI and GUI (14-15) needs to be increased by 1 to accommodate new riscv64 file.

Copy link

netlify bot commented Mar 10, 2024

Deploy Preview for barolo-time-757cf9 ready!

Name Link
🔨 Latest commit 0a47adb
🔍 Latest deploy log https://app.netlify.com/sites/barolo-time-757cf9/deploys/65eddd32232b99000860f652
😎 Deploy Preview https://deploy-preview-2269--barolo-time-757cf9.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

#CLI
filename=$(get_filename "${line}")
filenames_cli+=("${filename}")
elif [ $num -gt 13 ] && [ $num -lt 20 ] ; then
elif [ $num -gt 14 ] && [ $num -lt 20 ] ; then
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
elif [ $num -gt 14 ] && [ $num -lt 20 ] ; then
elif [ $num -gt 14 ] && [ $num -lt 21 ] ; then

is this right? 🤔
ignore me if wrong

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was done in previous PR here: https://github.com/monero-project/monero-site/pull/2264/files#diff-e9682b56d580e2645c06a1fdde3c0376d1bee1e1a1cca99a900dbc7f7d902c12L61

Sorry I messed up my history and created an unnecessary conflict. Should be more clear now, please check.

@binaryFate binaryFate force-pushed the workflow-fix-indices-for-file-names branch from 6336c9c to 0a47adb Compare March 10, 2024 16:17
@binaryFate binaryFate merged commit f2008c8 into monero-project:master Mar 10, 2024
6 checks 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.

2 participants