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

Use backticks to escape repository name in build.sc #129

Merged
merged 3 commits into from
Jan 6, 2025

Conversation

SinaKarvandi
Copy link
Contributor

If the repository name contains a '-', the CI/CD will fail because in the 'build.sc', the name of the object cannot include a '-'. So, I replaced it with a '_'.

image

If the repository name contains a '-', the CI/CD will fail because in the 'build.sc', the name of the object cannot include a '-'. So, I replaced it with a '_'.
@sequencer
Copy link
Member

how about wrapping it with “`”?

@SinaKarvandi
Copy link
Contributor Author

how about wrapping it with “`”?

Yeah, you're right, that's a better option. I changed it to wrap it with '`' and test it on my local repo, it works.

Copy link
Contributor

@jackkoenig jackkoenig left a comment

Choose a reason for hiding this comment

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

Sorry for the delay, this is great, thanks!

@jackkoenig jackkoenig changed the title Replace '-' with '_' in the initial template-cleanup.yml in 'build.sc' Use backticks to escape repository name in build.sc Jan 6, 2025
@jackkoenig
Copy link
Contributor

Ideally we'd only include these backticks if they are necessary, but this fixes a real problem so we should merge.

@jackkoenig jackkoenig enabled auto-merge (squash) January 6, 2025 19:31
@jackkoenig jackkoenig merged commit f09569b into chipsalliance:main Jan 6, 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.

3 participants