Skip to content

Commit

Permalink
bin: fix expected version format (#896)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom authored Nov 12, 2024
1 parent 73e73c8 commit ef979ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/bump_version.nim
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ proc bumpVersionFile(versionFile: string): Version =
## version.
let pkgVersion = readFile(versionFile)
result = Version.init()
if pkgVersion.scanf("$i.$i.$i-$+.$i\n$.",
if pkgVersion.scanf("$i.$i.$i\n$.",
result.major, result.minor, result.patch,
result.pre, result.n):
inc result.n
Expand Down

0 comments on commit ef979ae

Please sign in to comment.