Skip to content

Commit 3cb0895

Browse files
committed
fix: remove hashicorp version dependency (#6)
Removing embed code until we find a solution to manage versions and we have a proper version stratergy
1 parent bb2ad94 commit 3cb0895

File tree

2 files changed

+2
-19
lines changed

2 files changed

+2
-19
lines changed

version.go

+2-18
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,11 @@
33

44
package main
55

6-
import (
7-
_ "embed"
8-
"strings"
9-
10-
goversion "github.com/hashicorp/go-version"
11-
)
12-
136
var (
14-
// The next version number that will be released. This will be updated after every release
15-
// Version must conform to the format expected by github.com/hashicorp/go-version
16-
// for tests to work.
17-
// A pre-release marker for the version can also be specified (e.g -dev). If this is omitted
18-
// then it means that it is a final release. Otherwise, this is a pre-release
19-
// such as "dev" (in development), "beta", "rc1", etc.
20-
//go:embed version/VERSION
21-
rawVersion string
22-
23-
version = goversion.Must(goversion.NewVersion(strings.TrimSpace(rawVersion)))
7+
version = "0.1.0"
248
)
259

2610
// VersionString returns the complete version string, including prerelease
2711
func VersionString() string {
28-
return version.String()
12+
return version
2913
}

version/VERSION

-1
This file was deleted.

0 commit comments

Comments
 (0)