Skip to content

Commit

Permalink
fix(metadata): keep original version string
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrynhard committed Oct 19, 2018
1 parent f27917e commit 2e3ba15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/metadata/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func addMetadataForVersion(m *Metadata) error {
m.Version = &Version{}
if m.Git.IsTag {
var ver *semver.Version
ver, err := semver.NewVersion(m.Git.Tag[1:])
ver, err := semver.NewVersion(m.Git.Tag)
if err != nil {
return err
}
Expand Down

0 comments on commit 2e3ba15

Please sign in to comment.