mirror of
https://github.com/minio/minio.git
synced 2024-12-25 06:35:56 -05:00
b87cc3d643
Set GOPATH string to empty in build-constants.go Check for both compile time GOPATH and default GOPATH while trimming the file path in the stack trace. Fixes #5741
37 lines
1.1 KiB
Go
37 lines
1.1 KiB
Go
/*
|
||
* Minio Cloud Storage, (C) 2015, 2016 Minio, Inc.
|
||
*
|
||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||
* you may not use this file except in compliance with the License.
|
||
* You may obtain a copy of the License at
|
||
*
|
||
* http://www.apache.org/licenses/LICENSE-2.0
|
||
*
|
||
* Unless required by applicable law or agreed to in writing, software
|
||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
* See the License for the specific language governing permissions and
|
||
* limitations under the License.
|
||
*/
|
||
|
||
package cmd
|
||
|
||
// DO NOT EDIT THIS FILE DIRECTLY. These are build-time constants
|
||
// set through ‘buildscripts/gen-ldflags.go’.
|
||
var (
|
||
// GOPATH - GOPATH value at the time of build.
|
||
GOPATH = ""
|
||
|
||
// Go get development tag.
|
||
goGetTag = "DEVELOPMENT.GOGET"
|
||
|
||
// Version - version time.RFC3339.
|
||
Version = goGetTag
|
||
// ReleaseTag - release tag in TAG.%Y-%m-%dT%H-%M-%SZ.
|
||
ReleaseTag = goGetTag
|
||
// CommitID - latest commit id.
|
||
CommitID = goGetTag
|
||
// ShortCommitID - first 12 characters from CommitID.
|
||
ShortCommitID = CommitID[:12]
|
||
)
|