Skip to content

Instantly share code, notes, and snippets.

@syzer
Created October 31, 2019 14:14
Show Gist options
  • Save syzer/6aa0082387cc19c27e42e4888f0e947a to your computer and use it in GitHub Desktop.
Save syzer/6aa0082387cc19c27e42e4888f0e947a to your computer and use it in GitHub Desktop.
Bump packages
VERSIONS="
1.2.3.3
1.2.4
2.9.9
2.9.0
"
for VERSION in $VERSIONS; do
echo $VERSION | awk -F. '{$NF = $NF + 1;} 1' | sed 's/ /./g'
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment