Skip to content

Commit

Permalink
Remove cli image
Browse files Browse the repository at this point in the history
  • Loading branch information
edulauer authored Jul 29, 2024
1 parent 4644a97 commit a886997
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/update_changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up GitHub CLI
uses: cli/gh-action@v2


- name: Get latest release tag
id: get_latest_release
run: echo "::set-output name=tag::$(gh release list -R ${{ github.repository }} --limit 1 --json tagName --jq '.[0].tagName')"

env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Get release notes
id: get_release_notes
run: |
release_notes=$(gh release view ${{ steps.get_latest_release.outputs.tag }} -R ${{ github.repository }} --json body --jq '.body')
echo "::set-output name=notes::$release_notes"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Update CHANGELOG.md
run: |
Expand Down

0 comments on commit a886997

Please sign in to comment.