Permalink
Browse files

add release documentation

  • Loading branch information...
justone committed Apr 15, 2015
1 parent d7476be commit 33b7938aac0bb8106d239e104acf184635d42d29
Showing with 44 additions and 0 deletions.
  1. +44 −0 RELEASE.md
@@ -0,0 +1,44 @@
# Release instructions
## 1. Run the `build.sh` script to build a new release.
This will generate the binaries and the bootstrap script.
```
$ ./build.sh
Building 2015-04-14-1952-d7476be
Number of parallel builds: 4
--> darwin/amd64: _/home/nate/pmb
--> linux/amd64: _/home/nate/pmb
--> linux/arm: _/home/nate/pmb
$ find 2015-04-14-1952-d7476be/
2015-04-14-1952-d7476be/
2015-04-14-1952-d7476be/pmb_linux_amd64
2015-04-14-1952-d7476be/pmb_linux_arm
2015-04-14-1952-d7476be/bootstrap
2015-04-14-1952-d7476be/pmb_darwin_amd64
```
## 2. Rsync the release to the <http://get.pmb.io/> server.
```
rsync -var 2015-04-14-1952-d7476be get.pmb.io:/var/path/to/get.pmb.io/
sending incremental file list
2015-04-14-1952-d7476be/
2015-04-14-1952-d7476be/bootstrap
2015-04-14-1952-d7476be/pmb_darwin_amd64
2015-04-14-1952-d7476be/pmb_linux_amd64
2015-04-14-1952-d7476be/pmb_linux_arm
sent 19,470,522 bytes received 99 bytes 230,421.55 bytes/sec
total size is 19,465,459 speedup is 1.00
```
## 3. Finally, on the get.pmb.io server, update the 'latest' symlink to point to the new release.
```
$ rm latest && ln -s 2015-04-14-1952-d7476be latest
```

0 comments on commit 33b7938

Please sign in to comment.