Skip to content

Commit

Permalink
style: fix release script versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinab25 committed Apr 17, 2024
1 parent 6c0ebd5 commit f96002b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion calculate_next_release.sh
@@ -1 +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
major=$(grep FROM Dockerfile | awk -F':' '{print $2}' | awk -F'-' '{print $1}');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 f96002b

Please sign in to comment.