Skip to content
UENISHI Kota edited this page Feb 12, 2016 · 2 revisions

Riak CS uses rebar_lock_deps_plugin to pin dependent modules since 2.0.

To reproduce an old pinned version:

$ git clone git://github.com/basho/riak_cs
$ cd riak_cs
$ git checkout 2.1.1
$ make locked-deps
$ make <anything>

And in Stanchion:

$ git clone git://github.com/basho/stanchion
$ cd stanchion
$ git checkout 2.1.1
$ make locked-deps
$ make <anything>

To make a release

Given you've done some work and updated the release branch have merged release notes.

$ emacs rel/reltools.config ##bump version in release configuration
$ make lock ## update rebar.config.lock
$ git add rel/reltools.config rebar.config.lock
$ git commit -m "Make a release 2.0.0"
$ git tag 2.0.0