Skip to content

Conversation

@amlane
Copy link
Contributor

@amlane amlane commented May 16, 2025

No description provided.

@amlane amlane requested a review from timjstewart1024 May 16, 2025 18:43
Copy link
Contributor

@schroeder-g schroeder-g left a comment

Choose a reason for hiding this comment

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

approving to remove any block here!


# if this script is editing the ID of your recipe file, uncomment the line above and comment out the line below
# sed -i '' "s/\"id\"[[:space:]]*:[[:space:]]*\"$ID_VALUE\"/\"id\": \"$NEW_ID\"/" "${FLOW}/metadata.json"
# if you're getting `sed: 1: "...": invalid command code f` use the line above
Copy link
Contributor

Choose a reason for hiding this comment

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

I've been grappling with sed -i '' since switching to mac, ngl.

An alternative here would be that we can check to see which os we're on automatically, like uname -s to get Darwin, and if so, continue with the current implementation.

Curious to know in what context you were running into issues here? I thought everyone was running on mac and so I'd have expected the sed -i to work as one would hope.

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