Skip to content

Commit

Permalink
chore: fix next version release number
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinab25 authored Apr 28, 2023
1 parent 543804b commit d7fc3ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docker/calculate_next_release.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
major=$(grep FROM Dockerfile | awk -F':|-' '{print $2}');let minor=$(git describe --tags --abbrev=0 | grep -E $major-[0-9]+ | cut -d- -f2 )+1; echo $major-$minor
major=$(grep FROM Dockerfile | awk -F':|-' '{print $2}');let minor=$(git tag | grep -E $major-[0-9]+ | sort -V | tail -n 1 | cut -d- -f2 )+1; echo $major-$minor

0 comments on commit d7fc3ad

Please sign in to comment.