drone/version/version.go
Enver Bisevac f03528e862 [MAINT] initial config for ci linter (#17)
* initial config for ci linter

* more linter work

* linter errors fix

* linter errors fix

* linter conf minor changes
2022-09-19 18:13:18 +02:00

35 lines
1004 B
Go

// Copyright 2021 Harness Inc. All rights reserved.
// Use of this source code is governed by the Polyform Free Trial License
// that can be found in the LICENSE.md file for this repository.
// Package version provides the version number.
package version
import "github.com/coreos/go-semver/semver"
var (
// GitRepository is the git repository that was compiled.
GitRepository string
// GitCommit is the git commit that was compiled.
GitCommit string
// Major is for an API incompatible changes.
Major int64 = 1
// Minor is for functionality in a backwards-compatible manner.
Minor int64
// Patch is for backwards-compatible bug fixes.
Patch int64
// Pre indicates prerelease.
Pre = ""
// Dev indicates development branch. Releases will be empty string.
Dev string
)
// Version is the specification version that the package types support.
var Version = semver.Version{
Major: Major,
Minor: Minor,
Patch: Patch,
PreRelease: semver.PreRelease(Pre),
Metadata: Dev,
}