Skip to content

Commit

Permalink
fix(metadata): keep original version string (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrynhard authored Oct 19, 2018
1 parent f27917e commit 3b165b3
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 3b165b3

Please sign in to comment.