Skip to content
This repository has been archived by the owner on Nov 29, 2017. It is now read-only.

Commit

Permalink
Start README for steps so far
Browse files Browse the repository at this point in the history
  • Loading branch information
drnic committed Dec 13, 2014
1 parent 1e3b66e commit 5eb701b
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 4 deletions.
43 changes: 43 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
Traveling BOSH CLI
==================

This project packages the BOSH CLI (with plugins) into self-contained packages that can be downloaded and used by anyone without requiring Ruby and native extensions.

Download
--------

To download the latest release https://github.com/cloudfoundry-community/traveling-bosh/releases

Background
----------

This project uses http://phusion.github.io/traveling-ruby/

Create releases
---------------

Anyone in the @cloudfoundry-community can create new releases whenever new BOSH CLI versions are released. This section contains the instructions.

You are required to use Ruby 2.1 to create releases as this is what traveling-ruby uses.

The release version number is directly taken from the BOSH CLI to be packaged. First, upgrade to latest BOSH CLI.

```
bundle update
rake package:bundle_install
```

To create the new release:

```
rake package
```

This will create three packages:

```
$ ls bosh_cli*
bosh_cli-1.2788.0-linux-x86.tar.gz
bosh_cli-1.2788.0-linux-x86_64.tar.gz
bosh_cli-1.2788.0-osx.tar.gz
```
4 changes: 0 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ NATIVE_GEMS = {"nokogiri" => NOKOGIRI_VERSION}
desc "Package your app"
task :package => ['package:linux:x86', 'package:linux:x86_64', 'package:osx']

task :bosh_cli_version do
puts bosh_cli_version
end

namespace :package do
namespace :linux do
desc "Package your app for Linux x86"
Expand Down

0 comments on commit 5eb701b

Please sign in to comment.