Untitled
unknown
plain_text
a year ago
227 B
7
Indexable
#!/bin/bash # Your file path file_path="/path/to/your/file.yaml" # The old and new tags old_tag="v1.15.1-1" new_tag="v1.15.1-2" # Use sed to replace the tag in the file sed -i "s/^tag: $old_tag$/tag: $new_tag/" "$file_path"
Editor is loading...
Leave a Comment