Skip to content

Commit

Permalink
ci: fix CD artefact creation
Browse files Browse the repository at this point in the history
  • Loading branch information
gnikit committed Jun 9, 2024
1 parent 98d2791 commit 9913ac5
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,20 +139,16 @@ jobs:
ls -R fpm-*
find -name "fpm*"
echo "================================================================="
for output in fpm-*/fpm*; do
pushd $(dirname "$output")
for output in fpm-*; do
mv -v $(basename $output) $(basename $output | sed -E '${{ env.replace }}')
popd
done
env:
replace: 's/-([0-9]+\.[0-9]+\.[0-9]+-[0-9]+-g)?[0-9a-f]+//'

- name: Create SHA256 checksums
run: |
for output in fpm-*/fpm*; do
pushd $(dirname "$output")
for output in fpm-*; do
sha256sum $(basename "$output") | tee $(basename "$output").sha256
popd
done
- name: Move/Create continuous tag
Expand Down

0 comments on commit 9913ac5

Please sign in to comment.