changelogithub icon indicating copy to clipboard operation
changelogithub copied to clipboard

After releasing returns the new created release id.

Open orangelckc opened this issue 3 years ago • 2 comments

Clear and concise description of the problem

Is it possible to get the release id after success updating the changelog? By create-release, it returns some outputs. By using the release id, i can do further build like this.

Or is there any other way to generate the changelog and to release builds at the same time? Thanks!

Suggested solution

Noting to suggest on codes. Just wish to simplify the process of releasing and building.

Alternative

No response

Additional context

No response

Validations

  • [X] Follow our Code of Conduct
  • [X] Read the Contributing Guide.
  • [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

orangelckc avatar Aug 13 '22 21:08 orangelckc

+1 ! In my side, this idea will be helpful

jbaubree avatar Oct 13 '22 14:10 jbaubree

Had the same requirement multiple times and to make it easier until (and if) this is supported, I created a small GitHub Action which is just a wrapper around changelogithub and provides the release ID, release URL and release upload URL as output variables, e.g. steps.changelog.outputs.release_id:

- uses: hideoo/changelogithub-action@v1
  id: changelog
  with:
    token: ${{ secrets.GITHUB_TOKEN }}

- name: Get the release ID
  run: echo "The release ID is ${{ steps.changelog.outputs.release_id }}"

HiDeoo avatar Feb 10 '23 14:02 HiDeoo