Skip to content

Commit

Permalink
workflows: fix "chglog" typo
Browse files Browse the repository at this point in the history
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
  • Loading branch information
hdonnay committed Feb 23, 2022
1 parent 6b029ff commit 8359de6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/cut-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
build_image: ${{ steps.setup.outputs.build_image }}
build_go_version: ${{ steps.setup.outputs.build_go_version }}
build_cache_key: ${{ steps.setup.outputs.cache_key }}
chlog_version: ${{ '0.14.0' }}
chglog_version: ${{ '0.15.1' }}
steps:
- name: Setup
id: setup
Expand Down Expand Up @@ -62,20 +62,20 @@ jobs:
mv clair.tar.gz clair-${{ needs.config.outputs.version }}.tar.gz
- name: Cache Changelog
uses: actions/cache@v2
id: chlog-cache
id: chglog-cache
if: github.event_name != 'workflow_dispatch'
with:
path: /usr/local/bin/git-chlog
key: changelog-${{ needs.config.outputs.chlog_version }}
path: /usr/local/bin/git-chglog
key: changelog-${{ needs.config.outputs.chglog_version }}
- name: Fetch Changelog
if: steps.chlog-cache.outputs.cache-hit != 'true' && github.event_name != 'workflow_dispatch'
if: steps.chglog-cache.outputs.cache-hit != 'true' && github.event_name != 'workflow_dispatch'
run: |
cd "$RUNNER_TEMP"
v="${{ needs.config.outputs.chlog_version }}"
v="${{ needs.config.outputs.chglog_version }}"
f="git-chglog_${v}_linux_amd64.tar.gz"
curl -fsOSL "https://github.com/git-chglog/git-chglog/releases/download/v${v}/${f}"
tar xvf "${f}"
install git-chlog /usr/local/bin
install git-chglog /usr/local/bin
- name: Generate changelog
shell: bash
if: github.event_name != 'workflow_dispatch'
Expand Down

0 comments on commit 8359de6

Please sign in to comment.