From e359d125a5ab56a6de00cb35680001a84ff79a34 Mon Sep 17 00:00:00 2001 From: "Anand Babu (AB) Periasamy" Date: Fri, 24 Apr 2015 20:46:42 -0700 Subject: [PATCH] Version is now based on MD5SUM of its binary --- buildscripts/git-commit-id.sh | 34 ---------------------------------- hash-binary.go | 28 ++++++++++++++++++++++++++++ main.go | 5 ++--- 3 files changed, 30 insertions(+), 37 deletions(-) delete mode 100755 buildscripts/git-commit-id.sh create mode 100644 hash-binary.go diff --git a/buildscripts/git-commit-id.sh b/buildscripts/git-commit-id.sh deleted file mode 100755 index 69638828..00000000 --- a/buildscripts/git-commit-id.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/env bash -# -# Mini Copy (C) 2015 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. -# - - -CONST_FILE=build-constants.go - -cat > $CONST_FILE <