Skip to content

Conversation

@MatteoPologruto
Copy link
Contributor

The condition to identify a prerelease was recently split to reduce the length of the line, causing the workflow to fail throwing this error:

/home/runner/work/_temp/1435c811-653a-480e-bcf6-c38ae8bd5d7e.sh: line 7: unexpected token `newline', conditional binary operator expected
Error: Process completed with exit code 2.

Introducing some \ inside the condition should fix this issue.

@MatteoPologruto MatteoPologruto added topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project labels Jan 31, 2023
@MatteoPologruto MatteoPologruto self-assigned this Jan 31, 2023
Copy link
Contributor

@per1234 per1234 left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this bug I introduced Matteo!

@MatteoPologruto MatteoPologruto merged commit 024a8e0 into arduino:main Jan 31, 2023
@MatteoPologruto MatteoPologruto deleted the fix-prerelease-step branch January 31, 2023 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants