Skip to content
This repository has been archived by the owner on Jul 1, 2020. It is now read-only.

fix sed #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix sed #6

wants to merge 1 commit into from

Conversation

jeffreyfuchang
Copy link

@jeffreyfuchang jeffreyfuchang commented Jun 19, 2017

Circle is getting the error sed: -e expression #1, char 24: unknown option to s'` and then exiting.

@@ -39,7 +39,7 @@ def create_deploy_zip_file(*files)

def use_tag_in_dockerrun(repo, tag)
shout "Changing Dockerrun.aws.json to contain latest tag"
command = "sed 's/<TAG>/#{tag}/' < Dockerrun.aws.json.template > Dockerrun.aws.json"
Copy link
Contributor

Choose a reason for hiding this comment

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

what does adding the global option to the regex do and what does removed the < command change?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants