Skip to content

Commit

Permalink
fix: remove hashicorp version dependency
Browse files Browse the repository at this point in the history
Removing embed code until we find a solution to manage
versions and we have a proper version stratergy
  • Loading branch information
gamunu committed Apr 10, 2024
1 parent bd5ec62 commit 6f1140e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
13 changes: 1 addition & 12 deletions version.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,10 @@ package main
import (
_ "embed"
"strings"

Check failure on line 8 in version.go

View workflow job for this annotation

GitHub Actions / build (darwin, amd64)

"strings" imported and not used

Check failure on line 8 in version.go

View workflow job for this annotation

GitHub Actions / build (linux, 386)

"strings" imported and not used

Check failure on line 8 in version.go

View workflow job for this annotation

GitHub Actions / build (openbsd, 386)

"strings" imported and not used

Check failure on line 8 in version.go

View workflow job for this annotation

GitHub Actions / build (darwin, arm64)

"strings" imported and not used

Check failure on line 8 in version.go

View workflow job for this annotation

GitHub Actions / build (linux, amd64)

"strings" imported and not used

Check failure on line 8 in version.go

View workflow job for this annotation

GitHub Actions / build (openbsd, amd64)

"strings" imported and not used

Check failure on line 8 in version.go

View workflow job for this annotation

GitHub Actions / build (freebsd, 386)

"strings" imported and not used

Check failure on line 8 in version.go

View workflow job for this annotation

GitHub Actions / build (windows, 386)

"strings" imported and not used

Check failure on line 8 in version.go

View workflow job for this annotation

GitHub Actions / build (windows, arm64)

"strings" imported and not used

Check failure on line 8 in version.go

View workflow job for this annotation

GitHub Actions / build (freebsd, arm)

"strings" imported and not used

Check failure on line 8 in version.go

View workflow job for this annotation

GitHub Actions / build (windows, amd64)

"strings" imported and not used

Check failure on line 8 in version.go

View workflow job for this annotation

GitHub Actions / build (linux, arm)

"strings" imported and not used

Check failure on line 8 in version.go

View workflow job for this annotation

GitHub Actions / build (freebsd, amd64)

"strings" imported and not used

Check failure on line 8 in version.go

View workflow job for this annotation

GitHub Actions / build (solaris, amd64)

"strings" imported and not used

Check failure on line 8 in version.go

View workflow job for this annotation

GitHub Actions / build (linux, arm64)

"strings" imported and not used

Check failure on line 8 in version.go

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest)

"strings" imported and not used

Check failure on line 8 in version.go

View workflow job for this annotation

GitHub Actions / test (macos-latest)

"strings" imported and not used

Check failure on line 8 in version.go

View workflow job for this annotation

GitHub Actions / test (windows-latest)

"strings" imported and not used

goversion "github.com/hashicorp/go-version"
)

var (
// The next version number that will be released. This will be updated after every release
// Version must conform to the format expected by github.com/hashicorp/go-version
// for tests to work.
// A pre-release marker for the version can also be specified (e.g -dev). If this is omitted
// then it means that it is a final release. Otherwise, this is a pre-release
// such as "dev" (in development), "beta", "rc1", etc.
//go:embed version/VERSION
rawVersion string

version = goversion.Must(goversion.NewVersion(strings.TrimSpace(rawVersion)))
version = "0.1.0"
)

// VersionString returns the complete version string, including prerelease
Expand Down
1 change: 0 additions & 1 deletion version/VERSION

This file was deleted.

0 comments on commit 6f1140e

Please sign in to comment.