mirror of
https://github.com/hashicorp/packer.git
synced 2026-10-25 15:38:22 -04:00
backport of commit 1f4f2aebca
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
// Copyright (c) HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
package version
|
||||
|
||||
import (
|
||||
"github.com/hashicorp/packer-plugin-sdk/version"
|
||||
)
|
||||
|
||||
var (
|
||||
// Version is the main version number that is being run at the moment.
|
||||
Version = "1.0.0"
|
||||
|
||||
// VersionPrerelease is A pre-release marker for the Version. If this is ""
|
||||
// (empty string) then it means that it is a final release. Otherwise, this
|
||||
// is a pre-release such as "dev" (in development), "beta", "rc1", etc.
|
||||
VersionPrerelease = ""
|
||||
|
||||
// VersionMetadata is anything related to the build that has some
|
||||
// informational value. This won't impact version ordering.
|
||||
VersionMetadata = ""
|
||||
|
||||
// PluginVersion is used by the plugin set to allow Packer to recognize
|
||||
// what version this plugin is.
|
||||
PluginVersion = version.NewPluginVersion(Version, VersionPrerelease, VersionMetadata)
|
||||
)
|
||||
Reference in New Issue
Block a user