heroku-releases-slug-ids

0.2.0 • Public • Published

heroku-releases-slug-ids Build Status

A node command line utility to find Heroku slug IDs

This helps to automate copying the slugs around using Heroku's platform API. For further details see:

https://blog.heroku.com/archives/2013/12/20/programmatically_release_code_to_heroku_using_the_platform_api

Getting Started

Install the command line utility with: npm install -g heroku-releases-slug-ids

You must have an account on Heroku

You must provide the Heroku API key for your account in the environment variable HEROKU_API_TOKEN

Documentation

This program is given the name of an application on Heroku and [optionally] a release number

The default is to take the most recent (highest) release number in the response from Heroku

Some releases don't have slugs and this is reported as an error

If the requested release number is not present this is reported as an error

A representative sample of responses from Heroku [ release-xxx.json ] are included in this folder

Examples

$ heroku-releases-slug-ids app1

ffffff-xxxxx-xxxx-15

$ heroku-releases-slug-ids app1 12

ffffff-xxxxx-xxxx-12

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

Release History

(Nothing yet)

License

Copyright (c) 2014 Ray McDermott
Licensed under the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i heroku-releases-slug-ids

Weekly Downloads

1

Version

0.2.0

License

none

Last publish

Collaborators

  • mondraymond