You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by pd...@apache.org on 2018/04/06 21:32:42 UTC
[incubator-openwhisk-wskdeploy] branch master updated: Remove the
variable clibuild (#860)
This is an automated email from the ASF dual-hosted git repository.
pdesai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-wskdeploy.git
The following commit(s) were added to refs/heads/master by this push:
new 266ea3d Remove the variable clibuild (#860)
266ea3d is described below
commit 266ea3d1fefe8e7a6827de6dfe0b26770ce29169
Author: Vincent <sh...@us.ibm.com>
AuthorDate: Fri Apr 6 17:32:39 2018 -0400
Remove the variable clibuild (#860)
---
cmd/version.go | 6 ++----
main.go | 3 ---
utils/flags.go | 1 -
wski18n/i18n_resources.go | 0
4 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/cmd/version.go b/cmd/version.go
old mode 100644
new mode 100755
index c0f194a..2d4d710
--- a/cmd/version.go
+++ b/cmd/version.go
@@ -36,9 +36,7 @@ var versionCmd = &cobra.Command{
Run: func(cmd *cobra.Command, args []string) {
wskprint.PrintlnOpenWhiskOutput(
// Note: no need to translate the following string
- // TODO(#767) - Flags.CliBuild and CliVersion are not set during build
- fmt.Sprintf("wskdeploy build-version: %s--%s",
- utils.Flags.CliBuild,
- utils.Flags.CliVersion))
+ // TODO(#767) - Flags.CliVersion are not set during build
+ fmt.Sprintf("wskdeploy version: %s", utils.Flags.CliVersion))
},
}
diff --git a/main.go b/main.go
index 06c10ca..54a8093 100644
--- a/main.go
+++ b/main.go
@@ -29,11 +29,8 @@ func main() {
var (
//Version ...The Version of the tool
Version = "unset"
- //Build ...The build tags
- Build = "unset"
)
func init() {
utils.Flags.CliVersion = Version
- utils.Flags.CliBuild = Build
}
diff --git a/utils/flags.go b/utils/flags.go
index 7d42cde..2ff8925 100644
--- a/utils/flags.go
+++ b/utils/flags.go
@@ -29,7 +29,6 @@ type WskDeployFlags struct {
ApiVersion string // OpenWhisk version
CfgFile string
CliVersion string
- CliBuild string
ProjectPath string
DeploymentPath string
ManifestPath string
diff --git a/wski18n/i18n_resources.go b/wski18n/i18n_resources.go
old mode 100644
new mode 100755
--
To stop receiving notification emails like this one, please contact
pdesai@apache.org.