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: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Jan 30, 2023
@MatteoPologruto MatteoPologruto self-assigned this Jan 30, 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 the bug I introduced @MatteoPologruto!

@MatteoPologruto MatteoPologruto merged commit 6aa0be6 into arduino:main Jan 31, 2023
@MatteoPologruto MatteoPologruto deleted the fix-prerelease-step branch January 31, 2023 08:11
@per1234 per1234 added topic: infrastructure Related to project infrastructure and removed topic: code Related to content of the project itself labels Jan 31, 2023
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