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

Grep matching everything that has a prefix #15

Open
kesor opened this issue Jun 14, 2020 · 0 comments · May be fixed by #21
Open

Grep matching everything that has a prefix #15

kesor opened this issue Jun 14, 2020 · 0 comments · May be fixed by #21

Comments

@kesor
Copy link

kesor commented Jun 14, 2020

When using repositories that have the same prefix, such as repo-example and repo-example-mirror, the script will append both of these into REPO_URL when trying to push to repo-example/somechart.

declare REPO_URL="$(helm repo list | grep "^$REPO" | awk '{print $2}')/"

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 a pull request may close this issue.

1 participant