cloudfoundry-community / slack-notification-resource

Concourse CI resource for sending notifications to Slack.
MIT License
75 stars 81 forks source link

env_file parsing fails with spaces or quotes in value #72

Closed eedwards-sk closed 5 years ago

eedwards-sk commented 5 years ago

given my env_file:

GIT_COMMIT_MESSAGE="move .version files into app dir"

results in:

/dev/fd/63: line 1: export: `.version': not a valid identifier

seems to fail due to spaces in the value or quotes

if I remove the quotes

GIT_COMMIT_MESSAGE=move .version files into app dir

then it errors as

parse error: Expected separator between values at line 16, column 15
eedwards-sk commented 5 years ago

nevermind -- apparently the quotes WERE breaking it, and the error when removing the quotes was due to the payload