Hexoku.API.Releases
A release represents a combination of code, config vars and add-ons for an app on Heroku.
Attributes
- id
- unique identifier of item generated by Heroku
- description
- description of changes in this release
- slug
- slug running in this release
- slug:id
- unique identifier of slug
- user:email
- email address of account
- user:id
- unique identifier of user
- version
- unique version assigned to the release
- created_at
- when item was created
- updated_at
- when item was last modified
For more info read the Heroku API Reference
Summary
| create(client, app, slug, description \\ "Released using Hexoku") | Create new release. The API cannot be used to create releases on Bamboo apps |
| info(client, app, release) | Info for existing release |
| list(client, app) | List existing releases |
| rollback(client, app, release) | Rollback to an existing release |
Functions
Create new release. The API cannot be used to create releases on Bamboo apps.
Examples
client |> Hexoku.API.Release.create("myapp", "01234567-89ab-cdef-0123-456789abcdef", "Added new feature")
Specs:
- info(Hexoku.Client.t, binary, binary) :: Map.t
Info for existing release.
Examples
client |> Hexoku.API.Release.info("myapp", "01234567-89ab-cdef-0123-456789abcdef")