From 1698c1c56f3268d0b7f6bad0529c5a4a54d740e2 Mon Sep 17 00:00:00 2001 From: Kirill Klenov Date: Thu, 23 Oct 2014 00:59:11 +0400 Subject: [PATCH] update badges --- .bumpversion.cfg | 6 ++++++ Makefile | 18 ++++++++++++++++-- README.md | 4 +++- 3 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 .bumpversion.cfg diff --git a/.bumpversion.cfg b/.bumpversion.cfg new file mode 100644 index 0000000..9c2ac91 --- /dev/null +++ b/.bumpversion.cfg @@ -0,0 +1,6 @@ +[bumpversion] +commit = True +current_version = 1.3.0 +tag = True +tag_name = {new_version} + diff --git a/Makefile b/Makefile index 98a87ff..658035a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,20 @@ -.PHONY: release +.PHONY: release major minor patch + +VERSION?=minor release: - @git flow release finish `git flow release | cut -d ' ' -f2` + @bumpversion $(VERSION) + @git checkout master + @git merge develop + @git checkout develop @git push --all @git push --tags @git checkout develop + +major: + make release VERSION=major + +minor: + make release VERSION=minor + +patch: + make release VERSION=patch diff --git a/README.md b/README.md index fd497b4..20fbf28 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ Stouts.mongo ============ -[![Build Status](https://travis-ci.org/Stouts/Stouts.nginx.png)](https://travis-ci.org/Stouts/Stouts.mongodb) +[![Build Status](http://img.shields.io/travis/Stouts/Stouts.mongodb.svg?style=flat-square)](https://travis-ci.org/Stouts/Stouts.mongodb) +[![Galaxy](http://img.shields.io/badge/galaxy-Stouts.mongodb-blue.svg?style=flat-square)](https://galaxy.mongodb.com/list#/roles/982) +[![Tag](http://img.shields.io/github/tag/Stouts/Stouts.mongodb.svg?style=flat-square)]() Ansible role which manage [MongoDB](http://www.mongodb.org/)