Skip to content

Commit

Permalink
fix: version string less than 20 characters (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
DWSR authored Jan 20, 2025
1 parent 63210fd commit 6857379
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ func Version() string {
}
}

// Short SHA. 1Password has a limit of 20 characters for the version.
versionStr = versionStr[0:7]

if dirty {
versionStr += "-dirty"
}
Expand Down

0 comments on commit 6857379

Please sign in to comment.