diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..77c392c --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,4 @@ +## 0.1.0 / 2015-02-02 +* [CLEANUP] Introduced semantic versioning and changelog. From now on, + changes will be reported in this file. + \ No newline at end of file diff --git a/Makefile b/Makefile index aeb9fc4..562e6e3 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,8 @@ # See the License for the specific language governing permissions and # limitations under the License. +VERSION=$(shell cat `git rev-parse --show-toplevel`/VERSION) + OS = $(shell uname) ARCH = $(shell uname -m) @@ -89,7 +91,11 @@ advice: test $(GO) vet ./... format: - find . -iname '*.go' | grep -v './.build/' | xargs -n1 -P1 $(GOFMT) -w -s=true + find . -iname '*.go' | grep -vE '^./(.build|_vendor)/' | xargs -n1 -P1 $(GOFMT) -w -s=true + +tag: + git tag $(VERSION) + git push --tags search_index: $(GODOC) -index -write_index -index_files='search_index' diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..6e8bf73 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +0.1.0