# CLI release ID

**URL:** <https://community.convox.com/t/cli-release-id/608>\
**Category:** CLI\
**Created:** [September 18, 2019, 6:36pm UTC](https://community.convox.com/t/cli-release-id/608 "2019-09-18T18:36:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![moises](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/moises/32/97_2.png) [@moises](https://community.convox.com/u/moises)\
**Post date:** [September 18, 2019, 6:36pm UTC](https://community.convox.com/t/cli-release-id/608/1 "2019-09-18T18:36:46Z")

</div>

I’m looking into integrating Sentry [Releases](https://docs.sentry.io/workflow/releases/?platform=node#create-release) and I would like to use as my release ID the same release ID as Convox. Is there an easy way to get a Convox Release ID?

---

<div class="post-metadata">

**Author:** ![ed\_convox](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/ed_convox/32/101_2.png) [@ed\_convox](https://community.convox.com/u/ed_convox)\
**Post date:** [September 23, 2019, 10:24am UTC](https://community.convox.com/t/cli-release-id/608/2 "2019-09-23T10:24:02Z")

</div>

Hey, you can use the CLI to get release information. `convox releases` is a good starting point.

---

<div class="post-metadata">

**Author:** ![moises](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/moises/32/97_2.png) [@moises](https://community.convox.com/u/moises)\
**Post date:** [September 23, 2019, 3:13pm UTC](https://community.convox.com/t/cli-release-id/608/3 "2019-09-23T15:13:59Z")

</div>

Yes, but @ed_convox how would you use that for example in CircleCI, to get just the release ID that is about to be deployed?

---

<div class="post-metadata">

**Author:** ![ed\_convox](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/ed_convox/32/101_2.png) [@ed\_convox](https://community.convox.com/u/ed_convox)\
**Post date:** [September 23, 2019, 9:17pm UTC](https://community.convox.com/t/cli-release-id/608/4 "2019-09-23T21:17:02Z")

</div>

So something like:

```auto
convox releases | sed -n 2p | awk '{print $1}'

```

would output you the ID of the most recent release to be created. Before you run your `convox deploy` you can capture that ID, and put into a file or env var for latest use, however you wish.  
That’s something like what I’d do at any rate 😉

Ed

---

<div class="post-metadata">

**Author:** ![moises](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/moises/32/97_2.png) [@moises](https://community.convox.com/u/moises)\
**Post date:** [September 23, 2019, 9:31pm UTC](https://community.convox.com/t/cli-release-id/608/5 "2019-09-23T21:31:04Z")

</div>

Thanks @ed_convox you are the man
