Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use semver rebar plugin

The semver rebar plugin will make sure a unique application version is
generated for each commit.  See
https://github.com/erlware/rebar_vsn_plugin for more details.
  • Loading branch information...
commit 3bff0c3a1407f5054838437ba534ae422c9d3bb5 1 parent 53b83f4
@rzezeski authored
Showing with 7 additions and 3 deletions.
  1. +6 −2 rebar.config
  2. +1 −1  src/yokozuna.app.src
View
8 rebar.config
@@ -13,13 +13,17 @@
{riak_kv, ".*",
{git, "git://github.com/rzezeski/riak_kv", {branch, "rz-yokozuna"}}},
{riak_test, ".*",
- {git, "git://github.com/basho/riak_test", {branch, "master"}}}
+ {git, "git://github.com/basho/riak_test", {branch, "master"}}},
+ {rebar_vsn_plugin, "",
+ {git, "git://github.com/erlware/rebar_vsn_plugin.git",
+ {tag, "master"}}}
]}.
{pre_hooks, [{compile, "./priv/grab-solr.sh"},
{compile, "./priv/build-jar.sh"}]}.
-{plugins, [rebar_riak_test_plugin]}.
+{plugins, [rebar_vsn_plugin, rebar_riak_test_plugin]}.
+
{riak_test, [
{test_paths, ["riak_test/", "deps/riak_test/tests"]},
{test_output, "riak_test/ebin"}
View
2  src/yokozuna.app.src
@@ -2,7 +2,7 @@
{application, yokozuna,
[
{description, "Integrating Apache Solr into Riak"},
- {vsn, "0.0.0"},
+ {vsn, "semver"},
{registered, []},
{applications, [
kernel,
Please sign in to comment.
Something went wrong with that request. Please try again.