Skip to content

Commit

Permalink
OK leading v is best practice
Browse files Browse the repository at this point in the history
  • Loading branch information
tardisx committed Jan 16, 2022
1 parent 7836f2f commit f5e4386
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build_release.pl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
my $version;
while (<$fh>) {
# CurrentVersion: "v0.04"
$version = $1 if /CurrentVersion\s*=\s*"([\d\.]+)"/;
$version = $1 if /CurrentVersion\s*=\s*"(v[\d\.]+)"/;
}
close $fh;

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/spf13/viper"
)

var CurrentVersion = "0.0.1"
var CurrentVersion = "v0.0.1"

func main() {
isServer := flag.Bool("server", false, "Run netgiv in server mode")
Expand Down

0 comments on commit f5e4386

Please sign in to comment.