|
@@ -16,7 +16,8 @@ param(
|
|
|
[Parameter(Mandatory=$true)][string]$CommitString,
|
|
|
[Parameter(Mandatory=$true)][string]$DockerVersion,
|
|
|
[Parameter(Mandatory=$false)][string]$Platform,
|
|
|
- [Parameter(Mandatory=$false)][string]$Product
|
|
|
+ [Parameter(Mandatory=$false)][string]$Product,
|
|
|
+ [Parameter(Mandatory=$false)][string]$DefaultProductLicense
|
|
|
)
|
|
|
|
|
|
$ErrorActionPreference = "Stop"
|
|
@@ -42,11 +43,12 @@ package dockerversion
|
|
|
// Default build-time variable for library-import.
|
|
|
// This file is overridden on build with build-time informations.
|
|
|
const (
|
|
|
- GitCommit string = "'+$CommitString+'"
|
|
|
- Version string = "'+$DockerVersion+'"
|
|
|
- BuildTime string = "'+$buildDateTime+'"
|
|
|
- PlatformName string = "'+$Platform+'"
|
|
|
- ProductName string = "'+$Product+'"
|
|
|
+ GitCommit string = "'+$CommitString+'"
|
|
|
+ Version string = "'+$DockerVersion+'"
|
|
|
+ BuildTime string = "'+$buildDateTime+'"
|
|
|
+ PlatformName string = "'+$Platform+'"
|
|
|
+ ProductName string = "'+$Product+'"
|
|
|
+ DefaultProductLicense string = "'+$DefaultProductLicense+'"
|
|
|
)
|
|
|
|
|
|
// AUTOGENERATED FILE; see hack\make\.go-autogen.ps1
|