aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Ehlert <28669218+awvwgk@users.noreply.github.com>2021-11-02 18:52:56 +0100
committerSebastian Ehlert <28669218+awvwgk@users.noreply.github.com>2021-11-02 18:55:56 +0100
commit43711bf19446f30d69bb523bd1f2650e7d388d73 (patch)
tree3e1dd604f0a7c7b68bd41149fbaeac12d9c35f82
parenta460e2760a4e33f086c9e1669b08e53885bdc197 (diff)
downloadfpm-43711bf19446f30d69bb523bd1f2650e7d388d73.tar.gz
fpm-43711bf19446f30d69bb523bd1f2650e7d388d73.zip
Fix incorrect pattern matching
-rw-r--r--.github/workflows/CI.yml4
-rw-r--r--.github/workflows/release.yml4
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