Added CHANGELOG.md and VERSION.

This commit is contained in:
Bjoern Rabenstein 2015-02-02 15:25:06 +01:00
parent d7f8eb1083
commit b0107f53ac
3 changed files with 12 additions and 1 deletions

4
CHANGELOG.md Normal file
View File

@ -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.

View File

@ -11,6 +11,8 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
VERSION=$(shell cat `git rev-parse --show-toplevel`/VERSION)
OS = $(shell uname) OS = $(shell uname)
ARCH = $(shell uname -m) ARCH = $(shell uname -m)
@ -89,7 +91,11 @@ advice: test
$(GO) vet ./... $(GO) vet ./...
format: 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: search_index:
$(GODOC) -index -write_index -index_files='search_index' $(GODOC) -index -write_index -index_files='search_index'

1
VERSION Normal file
View File

@ -0,0 +1 @@
0.1.0