heroku-releases-slug-ids
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:
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.