Skip to content

Commit

Permalink
adding docs for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
drewkerrigan committed Aug 3, 2016
1 parent bfe3237 commit 6bc4629
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.eunit
deps
docs
*.o
*.plt
erl_crash.dump
Expand Down
61 changes: 61 additions & 0 deletions docs/RELEASES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Riak Explorer Releases

## Requirements

1. MacOSX machine
2. Ubuntu 14.04 machine
3. CentOS 7 machine
4. Github oauth token

## Tag

1. Visit https://github.com/basho-labs/riak_explorer/releases and click `Draft a new release`.
2. Create a new tag and release with the naming convention X.X.X (i.e. `1.1.3`)

## Clone

SSH into each of the 3 machines listed above and run the following

```
git clone https://github.com/basho-labs/riak_explorer.git
cd riak_explorer
echo "YOUR_OAUTH_TOKEN" > oauth.txt
```

## Build and Upload

* OSX

```
OS_FAMILY=osx OS_VERSION=10.11 make tarball
OS_FAMILY=osx OS_VERSION=10.11 make tarball-standalone
OS_FAMILY=osx OS_VERSION=10.11 make sync
OS_FAMILY=osx OS_VERSION=10.11 make sync-standalone
```

* Ubuntu

```
OS_FAMILY=ubuntu OS_VERSION=14.04 make tarball
OS_FAMILY=ubuntu OS_VERSION=14.04 make tarball-standalone
OS_FAMILY=ubuntu OS_VERSION=14.04 make sync
OS_FAMILY=ubuntu OS_VERSION=14.04 make sync-standalone
```

* CentOS

```
OS_FAMILY=centos OS_VERSION=7 make tarball
OS_FAMILY=centos OS_VERSION=7 make tarball-standalone
OS_FAMILY=centos OS_VERSION=7 make sync
OS_FAMILY=centos OS_VERSION=7 make sync-standalone
```

## Verify

1. Navigate to https://github.com/basho-labs/riak_explorer/releases/tag/YOUR_TAG
2. Verify that all 3 sets of the following files are listed as downloads for the release:
a. riak_explorer-X.X.X-OS_FAMILY-OS_VERSION-tar.gz
b. riak_explorer-X.X.X-OS_FAMILY-OS_VERSION-tar.gz.sha
c. riak_explorer-X.X.X.patch-OS_FAMILY-OS_VERSION-tar.gz
d. riak_explorer-X.X.X.patch-OS_FAMILY-OS_VERSION-tar.gz.sha

0 comments on commit 6bc4629

Please sign in to comment.