Update cli to minio-io/cli

This commit is contained in:
Harshavardhana
2015-04-02 12:48:22 -07:00
parent 7a117bb6c5
commit 92136d49fd
5 changed files with 86 additions and 11 deletions

View File

@@ -10,10 +10,9 @@ cat > $CONST_FILE <<EOF
package main
const (
gitCommitHash = "__GIT_COMMIT_HASH__"
minioGitCommitHash = "__GIT_COMMIT_HASH__"
)
EOF
commit_id=$(git log --format="%H" -n 1)
sed -i "s/__GIT_COMMIT_HASH__/$commit_id/" $CONST_FILE