From 3055b8151094e9a36ac1a18b74254d0f68837826 Mon Sep 17 00:00:00 2001 From: Haruaki Tamada Date: Wed, 3 Jul 2019 12:55:30 +0900 Subject: [PATCH] refine Makefile. --- Makefile | 3 --- README.md | 2 +- cmd/uniq2/main.go | 2 +- docs/content/_index.md | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index dd20eb4..b6543d4 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,6 @@ GO=go NAME := uniq2 VERSION := 1.0.1 -REVISION := $(shell git rev-parse --short HEAD) -LDFLAGS := -X 'main.version=$(VERSION)' - -X 'main.revision=$(REVISION)' all: test build diff --git a/README.md b/README.md index 24b996d..7844e87 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![codebeat badge](https://codebeat.co/badges/855266ea-99d4-4d80-ac43-81a1712f0f90)](https://codebeat.co/projects/github-com-tamada-uniq2-master) [![Go Report Card](https://goreportcard.com/badge/github.com/tamada/uniq2)](https://goreportcard.com/report/github.com/tamada/uniq2) [![License](https://img.shields.io/badge/License-WTFPL-blue.svg)](https://github.com/tamada/uniq2/blob/master/LICENSE) -[![Version](https://img.shields.io/badge/Version-1.0.0-yellowgreen.svg)](https://github.com/tamada/uniq2/releases/tag/v1.0.0) +[![Version](https://img.shields.io/badge/Version-1.0.1-yellowgreen.svg)](https://github.com/tamada/uniq2/releases/tag/v1.0.1) # uniq2 diff --git a/cmd/uniq2/main.go b/cmd/uniq2/main.go index 27a8351..3f331f2 100644 --- a/cmd/uniq2/main.go +++ b/cmd/uniq2/main.go @@ -8,7 +8,7 @@ import ( "github.com/tamada/uniq2/lib" ) -const VERSION = "1.0.0" +const VERSION = "1.0.1" func printHelp(appName string) { fmt.Printf(`%s [OPTIONS] [INPUT [OUTPUT]] diff --git a/docs/content/_index.md b/docs/content/_index.md index 79feeac..0442283 100644 --- a/docs/content/_index.md +++ b/docs/content/_index.md @@ -7,7 +7,7 @@ title: uniq2 [![codebeat badge](https://codebeat.co/badges/855266ea-99d4-4d80-ac43-81a1712f0f90)](https://codebeat.co/projects/github-com-tamada-uniq2-master) [![Go Report Card](https://goreportcard.com/badge/github.com/tamada/uniq2)](https://goreportcard.com/report/github.com/tamada/uniq2) [![License](https://img.shields.io/badge/License-WTFPL-blue.svg)](https://github.com/tamada/uniq2/blob/master/LICENSE) -[![Version](https://img.shields.io/badge/Version-1.0.0-yellowgreen.svg)](https://github.com/tamada/uniq2/releases/tag/v1.0.0) +[![Version](https://img.shields.io/badge/Version-1.0.1-yellowgreen.svg)](https://github.com/tamada/uniq2/releases/tag/v1.0.1) ## Description