Skip to content

Commit

Permalink
Add example in hack/next-version.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Baird <[email protected]>
  • Loading branch information
lcarva and simonbaird authored Feb 5, 2024
1 parent 52ef686 commit 2817d78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hack/next-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ function debug() {
>&2 echo "DEBUG: ${1}"
}

# E.g. api/v0.1.33
latest_version="$(git tag | sort -V -r | head -n 1)"
debug "Latest version: ${latest_version}"

Expand Down

0 comments on commit 2817d78

Please sign in to comment.