changelogithub
changelogithub copied to clipboard
After releasing returns the new created release id.
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.
+1 ! In my side, this idea will be helpful
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 }}"