diff --git a/post-processor/alicloud-import/version/version.go b/post-processor/alicloud-import/version/version.go new file mode 100644 index 000000000..85d0e8857 --- /dev/null +++ b/post-processor/alicloud-import/version/version.go @@ -0,0 +1,13 @@ +package version + +import ( + "github.com/hashicorp/packer/helper/version" + packerVersion "github.com/hashicorp/packer/version" +) + +var AlicloudImportPluginVersion *version.PluginVersion + +func init() { + AlicloudImportPluginVersion = version.InitializePluginVersion( + packerVersion.Version, packerVersion.VersionPrerelease) +} diff --git a/post-processor/amazon-import/version/version.go b/post-processor/amazon-import/version/version.go new file mode 100644 index 000000000..e380c7ef2 --- /dev/null +++ b/post-processor/amazon-import/version/version.go @@ -0,0 +1,13 @@ +package version + +import ( + "github.com/hashicorp/packer/helper/version" + packerVersion "github.com/hashicorp/packer/version" +) + +var AmazonImportPluginVersion *version.PluginVersion + +func init() { + AmazonImportPluginVersion = version.InitializePluginVersion( + packerVersion.Version, packerVersion.VersionPrerelease) +} diff --git a/post-processor/artifice/version/version.go b/post-processor/artifice/version/version.go new file mode 100644 index 000000000..898bb9be0 --- /dev/null +++ b/post-processor/artifice/version/version.go @@ -0,0 +1,13 @@ +package version + +import ( + "github.com/hashicorp/packer/helper/version" + packerVersion "github.com/hashicorp/packer/version" +) + +var ArtificePluginVersion *version.PluginVersion + +func init() { + ArtificePluginVersion = version.InitializePluginVersion( + packerVersion.Version, packerVersion.VersionPrerelease) +} diff --git a/post-processor/checksum/version/version.go b/post-processor/checksum/version/version.go new file mode 100644 index 000000000..cf70d50ff --- /dev/null +++ b/post-processor/checksum/version/version.go @@ -0,0 +1,13 @@ +package version + +import ( + "github.com/hashicorp/packer/helper/version" + packerVersion "github.com/hashicorp/packer/version" +) + +var ChecksumPluginVersion *version.PluginVersion + +func init() { + ChecksumPluginVersion = version.InitializePluginVersion( + packerVersion.Version, packerVersion.VersionPrerelease) +} diff --git a/post-processor/compress/version/version.go b/post-processor/compress/version/version.go new file mode 100644 index 000000000..545395816 --- /dev/null +++ b/post-processor/compress/version/version.go @@ -0,0 +1,13 @@ +package version + +import ( + "github.com/hashicorp/packer/helper/version" + packerVersion "github.com/hashicorp/packer/version" +) + +var CompressPluginVersion *version.PluginVersion + +func init() { + CompressPluginVersion = version.InitializePluginVersion( + packerVersion.Version, packerVersion.VersionPrerelease) +} diff --git a/post-processor/digitalocean-import/version/version.go b/post-processor/digitalocean-import/version/version.go new file mode 100644 index 000000000..afb79416d --- /dev/null +++ b/post-processor/digitalocean-import/version/version.go @@ -0,0 +1,13 @@ +package version + +import ( + "github.com/hashicorp/packer/helper/version" + packerVersion "github.com/hashicorp/packer/version" +) + +var DigitalOceanImportPluginVersion *version.PluginVersion + +func init() { + DigitalOceanImportPluginVersion = version.InitializePluginVersion( + packerVersion.Version, packerVersion.VersionPrerelease) +} diff --git a/post-processor/docker-import/version/version.go b/post-processor/docker-import/version/version.go new file mode 100644 index 000000000..36e14c2ee --- /dev/null +++ b/post-processor/docker-import/version/version.go @@ -0,0 +1,13 @@ +package version + +import ( + "github.com/hashicorp/packer/helper/version" + packerVersion "github.com/hashicorp/packer/version" +) + +var DockerImportPluginVersion *version.PluginVersion + +func init() { + DockerImportPluginVersion = version.InitializePluginVersion( + packerVersion.Version, packerVersion.VersionPrerelease) +} diff --git a/post-processor/docker-push/version/version.go b/post-processor/docker-push/version/version.go new file mode 100644 index 000000000..7d1b70054 --- /dev/null +++ b/post-processor/docker-push/version/version.go @@ -0,0 +1,13 @@ +package version + +import ( + "github.com/hashicorp/packer/helper/version" + packerVersion "github.com/hashicorp/packer/version" +) + +var DockerPushPluginVersion *version.PluginVersion + +func init() { + DockerPushPluginVersion = version.InitializePluginVersion( + packerVersion.Version, packerVersion.VersionPrerelease) +} diff --git a/post-processor/docker-save/version/version.go b/post-processor/docker-save/version/version.go new file mode 100644 index 000000000..e838fb127 --- /dev/null +++ b/post-processor/docker-save/version/version.go @@ -0,0 +1,13 @@ +package version + +import ( + "github.com/hashicorp/packer/helper/version" + packerVersion "github.com/hashicorp/packer/version" +) + +var DockerSavePluginVersion *version.PluginVersion + +func init() { + DockerSavePluginVersion = version.InitializePluginVersion( + packerVersion.Version, packerVersion.VersionPrerelease) +} diff --git a/post-processor/docker-tag/version/version.go b/post-processor/docker-tag/version/version.go new file mode 100644 index 000000000..c1a1cf73a --- /dev/null +++ b/post-processor/docker-tag/version/version.go @@ -0,0 +1,13 @@ +package version + +import ( + "github.com/hashicorp/packer/helper/version" + packerVersion "github.com/hashicorp/packer/version" +) + +var DockerTagPluginVersion *version.PluginVersion + +func init() { + DockerTagPluginVersion = version.InitializePluginVersion( + packerVersion.Version, packerVersion.VersionPrerelease) +} diff --git a/post-processor/googlecompute-export/version/version.go b/post-processor/googlecompute-export/version/version.go new file mode 100644 index 000000000..03abec519 --- /dev/null +++ b/post-processor/googlecompute-export/version/version.go @@ -0,0 +1,13 @@ +package version + +import ( + "github.com/hashicorp/packer/helper/version" + packerVersion "github.com/hashicorp/packer/version" +) + +var GCPExportPluginVersion *version.PluginVersion + +func init() { + GCPExportPluginVersion = version.InitializePluginVersion( + packerVersion.Version, packerVersion.VersionPrerelease) +} diff --git a/post-processor/googlecompute-import/version/version.go b/post-processor/googlecompute-import/version/version.go new file mode 100644 index 000000000..e0c79d6ab --- /dev/null +++ b/post-processor/googlecompute-import/version/version.go @@ -0,0 +1,13 @@ +package version + +import ( + "github.com/hashicorp/packer/helper/version" + packerVersion "github.com/hashicorp/packer/version" +) + +var GCPImportPluginVersion *version.PluginVersion + +func init() { + GCPImportPluginVersion = version.InitializePluginVersion( + packerVersion.Version, packerVersion.VersionPrerelease) +} diff --git a/post-processor/manifest/version/version.go b/post-processor/manifest/version/version.go new file mode 100644 index 000000000..8b9275284 --- /dev/null +++ b/post-processor/manifest/version/version.go @@ -0,0 +1,13 @@ +package version + +import ( + "github.com/hashicorp/packer/helper/version" + packerVersion "github.com/hashicorp/packer/version" +) + +var ManifestPluginVersion *version.PluginVersion + +func init() { + ManifestPluginVersion = version.InitializePluginVersion( + packerVersion.Version, packerVersion.VersionPrerelease) +} diff --git a/post-processor/shell-local/version/version.go b/post-processor/shell-local/version/version.go new file mode 100644 index 000000000..554f136a0 --- /dev/null +++ b/post-processor/shell-local/version/version.go @@ -0,0 +1,13 @@ +package version + +import ( + "github.com/hashicorp/packer/helper/version" + packerVersion "github.com/hashicorp/packer/version" +) + +var ShellLocalPluginVersion *version.PluginVersion + +func init() { + ShellLocalPluginVersion = version.InitializePluginVersion( + packerVersion.Version, packerVersion.VersionPrerelease) +} diff --git a/post-processor/ucloud-import/version/version.go b/post-processor/ucloud-import/version/version.go new file mode 100644 index 000000000..5f6a8f96b --- /dev/null +++ b/post-processor/ucloud-import/version/version.go @@ -0,0 +1,13 @@ +package version + +import ( + "github.com/hashicorp/packer/helper/version" + packerVersion "github.com/hashicorp/packer/version" +) + +var UCloudImportPluginVersion *version.PluginVersion + +func init() { + UCloudImportPluginVersion = version.InitializePluginVersion( + packerVersion.Version, packerVersion.VersionPrerelease) +} diff --git a/post-processor/vagrant-cloud/version/version.go b/post-processor/vagrant-cloud/version/version.go new file mode 100644 index 000000000..56aa23f8c --- /dev/null +++ b/post-processor/vagrant-cloud/version/version.go @@ -0,0 +1,13 @@ +package version + +import ( + "github.com/hashicorp/packer/helper/version" + packerVersion "github.com/hashicorp/packer/version" +) + +var VagrantCloudPluginVersion *version.PluginVersion + +func init() { + VagrantCloudPluginVersion = version.InitializePluginVersion( + packerVersion.Version, packerVersion.VersionPrerelease) +} diff --git a/post-processor/vagrant/version/version.go b/post-processor/vagrant/version/version.go new file mode 100644 index 000000000..272c46413 --- /dev/null +++ b/post-processor/vagrant/version/version.go @@ -0,0 +1,13 @@ +package version + +import ( + "github.com/hashicorp/packer/helper/version" + packerVersion "github.com/hashicorp/packer/version" +) + +var VagrantPostprocessorVersion *version.PluginVersion + +func init() { + VagrantPostprocessorVersion = version.InitializePluginVersion( + packerVersion.Version, packerVersion.VersionPrerelease) +} diff --git a/post-processor/vsphere-template/version/version.go b/post-processor/vsphere-template/version/version.go new file mode 100644 index 000000000..ec67a6742 --- /dev/null +++ b/post-processor/vsphere-template/version/version.go @@ -0,0 +1,13 @@ +package version + +import ( + "github.com/hashicorp/packer/helper/version" + packerVersion "github.com/hashicorp/packer/version" +) + +var VSphereTemplatePostprocessorVersion *version.PluginVersion + +func init() { + VSphereTemplatePostprocessorVersion = version.InitializePluginVersion( + packerVersion.Version, packerVersion.VersionPrerelease) +} diff --git a/post-processor/vsphere/version/version.go b/post-processor/vsphere/version/version.go new file mode 100644 index 000000000..bc1906982 --- /dev/null +++ b/post-processor/vsphere/version/version.go @@ -0,0 +1,13 @@ +package version + +import ( + "github.com/hashicorp/packer/helper/version" + packerVersion "github.com/hashicorp/packer/version" +) + +var VSpherePostprocessorVersion *version.PluginVersion + +func init() { + VSpherePostprocessorVersion = version.InitializePluginVersion( + packerVersion.Version, packerVersion.VersionPrerelease) +} diff --git a/post-processor/yandex-export/version/version.go b/post-processor/yandex-export/version/version.go new file mode 100644 index 000000000..bc180ee0c --- /dev/null +++ b/post-processor/yandex-export/version/version.go @@ -0,0 +1,13 @@ +package version + +import ( + "github.com/hashicorp/packer/helper/version" + packerVersion "github.com/hashicorp/packer/version" +) + +var YandexExportPluginVersion *version.PluginVersion + +func init() { + YandexExportPluginVersion = version.InitializePluginVersion( + packerVersion.Version, packerVersion.VersionPrerelease) +} diff --git a/post-processor/yandex-import/version/version.go b/post-processor/yandex-import/version/version.go new file mode 100644 index 000000000..03dce1e07 --- /dev/null +++ b/post-processor/yandex-import/version/version.go @@ -0,0 +1,13 @@ +package version + +import ( + "github.com/hashicorp/packer/helper/version" + packerVersion "github.com/hashicorp/packer/version" +) + +var YandexImportPluginVersion *version.PluginVersion + +func init() { + YandexImportPluginVersion = version.InitializePluginVersion( + packerVersion.Version, packerVersion.VersionPrerelease) +}