Skip to content

clearstackio/capistrano-release-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Capistrano::ReleaseInfo

Parses capistrano revisions.log file for deployment information

Installation

Add this line to your application's Gemfile:

gem 'capistrano-release-info'

And then execute:

$ bundle

Or install it yourself as:

$ gem install capistrano-release-info

Usage

This gem exposes two module methods available.

Capistrano::ReleaseInfo.current

# Deployement Hash
# {
#    :branch => "master",
#    :version => "9b7d10bab806d0f5e8b5185cf5c295c24cc95480",
#    :released_at => Sat, 19 Oct 2019 08:47:56 PDT -07:00,
#    :released_by => "ajaya"
# }
Capistrano::ReleaseInfo.releases
# An array of deployements

Contributing

  1. Fork it ( https://github.com/codetheoryio/release-info/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

ReleaseInfo support for Capistrano 3.x

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages