changed package command to mc (#1796)
* changed package command to mc * changed package from command to mc
This commit is contained in:
committed by
Anand Babu (AB) Periasamy
parent
951429fe67
commit
3603766f1c
@@ -28,10 +28,10 @@ import (
|
||||
|
||||
func genLDFlags(version string) string {
|
||||
var ldflagsStr string
|
||||
ldflagsStr = "-X github.com/minio/mc/command.MCVersion=" + version + " "
|
||||
ldflagsStr = ldflagsStr + "-X github.com/minio/mc/command.MCReleaseTag=" + releaseTag(version) + " "
|
||||
ldflagsStr = ldflagsStr + "-X github.com/minio/mc/command.MCCommitID=" + commitID() + " "
|
||||
ldflagsStr = ldflagsStr + "-X github.com/minio/mc/command.MCShortCommitID=" + commitID()[:12]
|
||||
ldflagsStr = "-X github.com/minio/mc/mc.MCVersion=" + version + " "
|
||||
ldflagsStr = ldflagsStr + "-X github.com/minio/mc/mc.MCReleaseTag=" + releaseTag(version) + " "
|
||||
ldflagsStr = ldflagsStr + "-X github.com/minio/mc/mc.MCCommitID=" + commitID() + " "
|
||||
ldflagsStr = ldflagsStr + "-X github.com/minio/mc/mc.MCShortCommitID=" + commitID()[:12]
|
||||
return ldflagsStr
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user