Skip to content

Instantly share code, notes, and snippets.

@dud225
Created February 1, 2024 10:31
Show Gist options
  • Save dud225/b4e8ca8be17dc122b2cc2c16f7e2f5c5 to your computer and use it in GitHub Desktop.
Save dud225/b4e8ca8be17dc122b2cc2c16f7e2f5c5 to your computer and use it in GitHub Desktop.
Increment chart version
sed -r 's/(version: [[:digit:]]+\.[[:digit:]]+\.)([[:digit:]]+)/echo \1$((\2+1))/e'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment