← Back to issue list

Handle project variables with curly braces in app commands

View original Github issue

Metadata

Project
snapcraft
Number
#5500
Type
issue
State
open
Author
mr-cal
Labels
Status: Triaged Type: Bug
Created
2025-05-21 16:42:29+00:00
Updated
2025-05-21 16:45:11+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### What needs to get done Snapcraft should not fail when project variables with curly braces are used in app commands. ### Why it needs to get done This is a regression. Prior to https://github.com/canonical/snapcraft/pull/5183, Snapcraft used to allow: ```yaml apps: my-app: command: bin/${SNAPCRAFT_PROJECT_NAME} ```

Evaluation history

No evaluation history available.