Untitled
unknown
plain_text
13 days ago
227 B
2
Indexable
Never
#!/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"
Leave a Comment