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

Version is templated with unexpected quoting #541

Open
mamachanko opened this issue Mar 21, 2025 · 0 comments
Open

Version is templated with unexpected quoting #541

mamachanko opened this issue Mar 21, 2025 · 0 comments
Labels

Comments

@mamachanko
Copy link

Describe the bug

The $( version ) template helper provides access to the version. When using it for a YAML value on its own, it renders the version as expected without quotes. However, when interpolating it into a more complex string value, then the result contains unexpected quotes around the version.

Reproduction steps

  1. Template metadata with a complex value construction
    something: hello-$( version )
  2. Bake the tile by providing a version, say --version 1.2.3
  3. Assert that the result has quotes inside
    something: hello-"1.2.3"

Expected behavior

  1. Template metadata with a complex value construction
    something: hello-$( version )
  2. Bake the tile by providing a version, say --version 1.2.3
  3. Assert that the result has no quotes inside
    something: hello-1.2.3

Additional context

No response

@mamachanko mamachanko added the bug label Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant