Skip to content

Commit

Permalink
fix: skip the silly go tags
Browse files Browse the repository at this point in the history
  • Loading branch information
pgollucci committed Oct 31, 2024
1 parent ad1bba2 commit 6290933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/version.bash
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# shellcheck shell=bash

main() {
local latest_tag=$(git describe --tags --abbrev=0 | sed -e 's,^.*/,,')
local latest_tag=$(git tag --list "v*" --sort=-v:refname | head -1)

local major=$(echo $latest_tag | cut -d. -f1)
local minor=$(echo $latest_tag | cut -d. -f2)
Expand Down

0 comments on commit 6290933

Please sign in to comment.