Skip to content

Commit

Permalink
add calculate next release script
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinab25 authored Jan 23, 2024
1 parent 591e80c commit 6c2cfd0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions calculate_next_release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
major=$(grep FROM Dockerfile | awk -F':|-' '{print $2}');let minor=$(git tag | grep -E $major-[0-9]+ | cut -d- -f2 | sort -n | tail -n 1 )+1; echo $major-$minor

0 comments on commit 6c2cfd0

Please sign in to comment.