File tree 2 files changed +2
-19
lines changed
2 files changed +2
-19
lines changed Original file line number Diff line number Diff line change 3
3
4
4
package main
5
5
6
- import (
7
- _ "embed"
8
- "strings"
9
-
10
- goversion "github.com/hashicorp/go-version"
11
- )
12
-
13
6
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"
24
8
)
25
9
26
10
// VersionString returns the complete version string, including prerelease
27
11
func VersionString () string {
28
- return version . String ()
12
+ return version
29
13
}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments