Skip to content

Commit

Permalink
Merge pull request #92 from MohawkTSDB/bump-minor-version
Browse files Browse the repository at this point in the history
bump minor version
  • Loading branch information
yaacov authored Dec 24, 2017
2 parents 935f5bb + e7efd9a commit 5bd6743
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 14 deletions.
15 changes: 6 additions & 9 deletions mohawk.spec
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,15 @@
%global shortcommit %(c=%{commit}; echo ${c:0:7})

Name: %{repo}
Version: 0.26.2
Release: 7%{?dist}
Version: 0.27.0
Release: 1%{?dist}
Summary: Time series metric data storage
License: Apache
URL: https://%{import_path}
Source0: https://github.com/MohawkTSDB/mohawk/archive/%{version}.tar.gz

BuildRequires: gcc
BuildRequires: bzr
BuildRequires: git

BuildRequires: golang >= 1.2-7
BuildRequires: golang-github-mattn-go-sqlite3-devel
BuildRequires: golang-github-go-mgo-mgo-devel
BuildRequires: golang-github-spf13-cobra-devel
BuildRequires: golang-github-spf13-viper-devel

%description
Mohawk is a metric data storage engine that uses a plugin architecture for data storage and a simple REST API as the primary interface.
Expand All @@ -40,6 +33,7 @@ mkdir -p ./_build/src/github.com/MohawkTSDB
ln -s $(pwd) ./_build/src/github.com/MohawkTSDB/mohawk

export GOPATH=$(pwd)/_build:%{gopath}
make vendor
make

%install
Expand All @@ -52,5 +46,8 @@ install -p -m 0755 ./mohawk %{buildroot}%{_bindir}/mohawk
%{_bindir}/mohawk

%changelog
* Wed Dec 6 2017 Yaacov Zamir <[email protected]> 0.27.0-1
- Add min max to memory storage stats

* Wed Dec 6 2017 Yaacov Zamir <[email protected]> 0.26.2-7
- Initial RPM release
4 changes: 2 additions & 2 deletions src/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ When installed, run using the command line ``mohawk``
```bash
mohawk --version

Mohawk version: 0.26.2
Mohawk version: 0.27.0
```

The `-h` flag will print out a help text, that list the command line arguments.
Expand All @@ -26,7 +26,7 @@ Mohawk is a metric data storage engine that uses a plugin architecture for data
storage and a simple REST API as the primary interface.
Version:
0.26.2
0.27.0
Author:
Yaacov Zamir <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion src/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import (
)

// VER the server version
const VER = "0.26.2"
const VER = "0.27.0"

// defaults
const defaultAPI = "0.21.0"
Expand Down
4 changes: 2 additions & 2 deletions test/mohawk.bats
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ wait_for_alert() {
[ "$status" -eq 0 ]
}

@test "Mohawk is installed in version 0.26.2" {
@test "Mohawk is installed in version 0.27.0" {
run mohawk --version

[[ "$output" =~ "0.26.2" ]]
[[ "$output" =~ "0.27.0" ]]
}

@test "Server should be available" {
Expand Down

0 comments on commit 5bd6743

Please sign in to comment.