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

sed is considering the input version a regex #9

Open
gastaldi opened this issue Nov 7, 2024 · 0 comments
Open

sed is considering the input version a regex #9

gastaldi opened this issue Nov 7, 2024 · 0 comments

Comments

@gastaldi
Copy link
Member

gastaldi commented Nov 7, 2024

In

find -name '*.md' -exec sed -i 's/${{env.NEXT_VERSION}}/${{env.CURRENT_VERSION}}/g' {} +
, having NEXT_VERSION as 1.0.2, the replace takes the input as a regex and performs the replace erroneously (because it matches 11509290 for example).

gastaldi added a commit that referenced this issue Nov 7, 2024
Disabling because of #9
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

No branches or pull requests

1 participant