From dc1797a07a40db7ca99233394366074f6be11d8d Mon Sep 17 00:00:00 2001 From: Tiago Scolari Date: Fri, 2 Dec 2016 14:09:05 +0000 Subject: [PATCH] Remove `version` from grootfs [finishes #135413033] Signed-off-by: Claudia Beresford --- ci/scripts/build-grootfs.sh | 10 ---------- main.go | 1 - 2 files changed, 11 deletions(-) diff --git a/ci/scripts/build-grootfs.sh b/ci/scripts/build-grootfs.sh index bda2429ad..1a6b52a33 100755 --- a/ci/scripts/build-grootfs.sh +++ b/ci/scripts/build-grootfs.sh @@ -8,16 +8,6 @@ VERSION=$(cat grootfs-release-version/number) cd grootfs-release-master/src/code.cloudfoundry.org/grootfs -# Update CLI version. -grep grootfs.Version main.go | cut -d "=" -f2 | xargs -I % sed -i s:%:"${VERSION}":g main.go - - -git config --global user.email "grootfs-ci@localhost" -git config --global user.name "GrootFS CI Bot" - -git add main.go -git commit -m "Bump version to ${VERSION}" - make tar -czf grootfs-${VERSION}.tgz grootfs tar -czf drax-${VERSION}.tgz drax diff --git a/main.go b/main.go index d9ce4e9a9..19d969680 100644 --- a/main.go +++ b/main.go @@ -27,7 +27,6 @@ func main() { grootfs := cli.NewApp() grootfs.Name = "grootfs" grootfs.Usage = "I am Groot!" - grootfs.Version = "0.1.0" grootfs.Flags = []cli.Flag{ cli.StringFlag{