From 43711bf19446f30d69bb523bd1f2650e7d388d73 Mon Sep 17 00:00:00 2001 From: Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> Date: Tue, 2 Nov 2021 18:52:56 +0100 Subject: Fix incorrect pattern matching --- .github/workflows/CI.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index bc36835..f6574b0 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -191,7 +191,7 @@ jobs: - name: Normalize file names for continuous delivery if: ${{ github.event_name == 'push' }} run: | - for output in fpm-*/fpm-*; do + for output in fpm-*/fpm*; do pushd $(dirname "$output") mv -v $(basename $output) $(basename $output | sed -E '${{ env.replace }}') popd @@ -201,7 +201,7 @@ jobs: - name: Create SHA256 checksums run: | - for output in fpm-*/fpm-*; do + for output in fpm-*/fpm*; do pushd $(dirname "$output") sha256sum $(basename "$output") | tee $(basename "$output").sha256 popd diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 37df665..142bb8a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -123,7 +123,7 @@ jobs: - name: Normalize file names for continuous delivery if: ${{ github.event_name == 'push' }} run: | - for output in fpm-*/fpm-*; do + for output in fpm-*/fpm*; do pushd $(dirname "$output") mv -v $(basename $output) $(basename $output | sed -E '${{ env.replace }}') popd @@ -133,7 +133,7 @@ jobs: - name: Create SHA256 checksums run: | - for output in fpm-*/fpm-*; do + for output in fpm-*/fpm*; do pushd $(dirname "$output") sha256sum $(basename "$output") | tee $(basename "$output").sha256 popd -- cgit v1.2.3